Hi.
I am wondering how I can download and save internet images onto my hard disk from a windows application.
Thank you very much in advance.
windysky
Printable View
Hi.
I am wondering how I can download and save internet images onto my hard disk from a windows application.
Thank you very much in advance.
windysky
Hello! :wave:
This may be what you need
http://www.codeguru.com/forum/showpo...43&postcount=4
Below is a quick way to do it, replace "textbox1.text" with the url to the image...
See the full post here: http://www.vbforums.com/showthread.php?t=387841Code:Dim MyBitmap As Bitmap = New Bitmap(New System.Drawing.Bitmap(New IO.MemoryStream(New System.Net.WebClient().DownloadData(TextBox1.Text))))
MyBitmap.Save("c:\test.jpg", Imaging.ImageFormat.Jpeg)
Thanks a lot gigemboy and HanneSThEGreaT.
That really helped me a lot.
Best,
windysky