hosein320
شنبه 30 دی 1391, 03:33 صبح
سلام
کد ذخیره عکس از یه ادرس اینترنتی رو میخواستم:لبخندساده:
hosein320
شنبه 30 دی 1391, 13:08 عصر
عکسی نمیدونه:ناراحت:
the king
شنبه 30 دی 1391, 15:43 عصر
سلام
کد ذخیره عکس از یه ادرس اینترنتی رو میخواستم:لبخندساده:
در فایل
Using client As New System.Net.WebClient
client.DownloadFile("http://vogons.zetafleet.com/files/windows.gif", "C:\windows.gif")
End Using
در RAM
Using client As New System.Net.WebClient
Dim bytes As Byte() = client.DownloadData("http://vogons.zetafleet.com/files/windows.gif")
Dim img As Image = Image.FromStream(New System.IO.MemoryStream(bytes))
BackgroundImage = img
End Using
vBulletin® v4.2.5, Copyright ©2000-1403, Jelsoft Enterprises Ltd.