Alex wrote a function for downloading pictures and loading them into a picture box. He edited his http wrappers he made so heres an upload of them.
Heres an example:
Code:Option Explicit Dim StrHTML As String Dim StrChall As String Private Sub Command1_Click() StrHTML = Wrapper.GetWrapper("http://api.recaptcha.net/challenge?k=6Lc96AAAAAAAANG1YKnED8OpogYLWtLStAMGVvv-", "http://www.gaiaonline.com/") StrChall = Wrapper.Between(StrHTML, " challenge : '", "'") Call Wrapper.DownloadFile("http://api.recaptcha.net/image?c=" & StrChall, "c:/captcha.jpg") ImgCaptcha.Picture = LoadPicture("c:/captcha.jpg") End Sub
Results 1 to 3 of 3
- 11 Nov. 2009 11:45pm #1
LogicalHTTP Wrappers - with picture download
- 12 Nov. 2009 02:53am #2
Maybe I should add some other functions to the wrapper. Can you think of any?
GZip decompression maybe. Should make it faster.
- 12 Nov. 2009 04:15am #3