|
-
February 21st, 2006, 10:45 PM
#1
How to download images from internet?
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
-
February 22nd, 2006, 01:19 AM
#2
Re: How to download images from internet?
Last edited by HanneSThEGreaT; February 22nd, 2006 at 01:21 AM.
-
February 23rd, 2006, 09:01 AM
#3
Re: How to download images from internet?
Below is a quick way to do it, replace "textbox1.text" with the url to the image...
Code:
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)
See the full post here: http://www.vbforums.com/showthread.php?t=387841
-
February 23rd, 2006, 09:42 AM
#4
Re: How to download images from internet?
Thanks a lot gigemboy and HanneSThEGreaT.
That really helped me a lot.
Best,
windysky
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|