Hi,
How can i GET/DOWNLOAD image from web(HTTP) using WinSock?
Ex.: http://www.vbforums.com/images/logo.gif
Thansk :).
Printable View
Hi,
How can i GET/DOWNLOAD image from web(HTTP) using WinSock?
Ex.: http://www.vbforums.com/images/logo.gif
Thansk :).
Have a look at the following link ;)
Download a file - URLDownloadToFile
This is freezable for Application.
I used "Inet".
Thanks ;)
Dim Dim_Byt_CaptchaImage() As Byte
Dim Dim_Int_FreeFile As Integer
Dim_Int_FreeFile = FreeFile()
Dim_Byt_CaptchaImage() = Int_General.OpenURL("http://www.vbforums.com/images/logo.gif", icByteArray)
Open App.Path & "\Temp.jpg" For Binary Access Write As #Dim_Int_FreeFile
Put #Dim_Int_FreeFile, , Dim_Byt_CaptchaImage()
Close #Dim_Int_FreeFile