473,385 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Upload Image

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

Aug 20 '06 #1
3 2951
samoore wrote:
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
Aug 20 '06 #2
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.
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"samoore" wrote:
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

Aug 20 '06 #3
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

Arne Vajhøj wrote:
samoore wrote:
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
Aug 21 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: dave | last post by:
Hello there, I am at my wit's end ! I have used the following script succesfully to upload an image to my web space. But what I really want to be able to do is to update an existing record in a...
15
by: David Lozzi | last post by:
Howdy, I have a function that uploads an image and that works great. I love ..Nets built in upload, so much easier than 3rd party uploaders! Now I am making a public function that will take the...
0
by: SEMIH DEMIR | last post by:
Sitelerden birinde verilen yabancı kaynakli bir scriptti duzenledim yanlız birseyin içinden bir turlu cıkamadım işin aslı ilk defa persistin upload componentini kullanacam yanlız suanki haliyle...
4
by: Jim Michaels | last post by:
after a file upload, $_FILES is not populated but $_POST is. what's going on here? $_POST=C $_POST=C $_POST=C $_POST=C:\\www\\jimm\\images\\bg1.jpg $_FILES= $_FILES= $_FILES=
9
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web...
3
by: kksandeep | last post by:
i am using this three files to uplod file. i got this file from net but i think these have some error. i am new to this field plz help the script i found is some helpful but not too that i need ...
1
by: kksandeep | last post by:
i am using this three files to uplod file. i got this file from net but i think these have some error. i am new to this field plz help the script i found is some helpful but not too that i need ...
7
by: xx75vulcan | last post by:
Hi, I've got a PHP Upload Form that works great, unless that is, the image your uploading has been modified through a photo editing software. Example: if I upload the image straight from a...
7
by: mishrarajesh44 | last post by:
hii all Truly telling i hav got this code from net & i am finding error while running the code below.. code:- <?php $idir = "photo/"; // Path To Images Directory $tdir =...
1
by: chennaibala | last post by:
can any one send me mutiple image upload program and save the file name with extension in mysql table.we must cheak uploaded file type like bmp or any image file while uploading. i develop...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.