Save image from website address in Visual bas

Gigabyte / P35-ds3p
March 18, 2010 at 05:37:17
Specs: Microsoft Windows 7 Professional, 2.4 GHz / 2046 MB
I was wondering if there is any way of getting
an image from an internet address and
displaying in the program?

Basically the program i have created stores
images of the user on a web address and i
need to get that picture and display it on there
profile which is a picturebox.

Thanks in advance

See More: Save image from website address in Visual bas

Report •

March 18, 2010 at 15:34:42
yes, its not too hard, but using the browser to get it is the least efficient means (i.m.o).
If your program is in possession of the .jpg at some point, then it should be able to capture it (ie: store it somewhere on the local system as a file). Then it can recover it from there.
I'm not clear if this vb program is another users client-side app, or a app running on your own machine (client). I am assuming the latter.
If the jpg has to be fetched, and if you know the name of the directory and the name of the jpg, I would highly recommend using wget.exe to get it from the server. netcat can also be "trained" to get it this way.
If you don't know the name of the directory where it's stored, then i guess you have to use the browser. The only way i know to use it is via sendkeys, but there's a better way that i haven't learned yet.

Report •
Related Solutions

Ask Question