how to download a file from the web, with out using internet explorer dll's so it will be compatible also with netscape users?
Printable View
how to download a file from the web, with out using internet explorer dll's so it will be compatible also with netscape users?
Inet Control
OpenURL method
Use a string for a text/html file
Use a byte array for anything else
how to download and save a gif file?
Like I said, with a byte array...
see, simple!. It's all in the MSDN help files under OpenUrlCode:
Private Sub GetGif()
Dim GifBytes() As Byte
GifBytes = Inet1.OpenURL("Http://www.gif.com/gif.gif", icByteArray)
Open "C:\Temp\gif.gif" For Binary As #1
Put #1, , GifBytes()
Close #1
End Sub
THANKS :)