Upload Image

  • Thread starter Thread starter samoore
  • Start date Start date
S

samoore

Can you upload an image using a windows app. I either want to upload
the image to a database or just a folder, but all of my searches show
that you have to use a web app. I want to do this with a win app. Any
help would be appreciated.

Samoore33
 
samoore said:
Can you upload an image using a windows app. I either want to upload
the image to a database or just a folder, but all of my searches show
that you have to use a web app. I want to do this with a win app. Any
help would be appreciated.

What does upload mean for a win app ?

A win app can save an image directly to the database
or to a file in a directory.

A win app can receve an image over socket or remoting.

Neither would I call upload.

A win app can also upload a file to a web app.

Arne
 
Your windows app can make the same form post to an ASP.NET Receiver page that
a web application page with a fileupload control can do. You would simply
need to
make a post (you can use the simplified WebClient class) with the correct
form multipart encoding header.
 
Arne,

I have created a windows application on my local computer that I want
to use to keep track of some collectables I have. Using this windows
app, I want to be able to store a picture of the collectable so that
not only am I storing information about the collectable, I am also
storing a picture of it. When I do searches, the only information I can
find on saving an image to a directory or to a database is by using a
web application.

samoore33
 
Back
Top