|
-
Jun 30th, 2000, 04:47 AM
#1
Thread Starter
Member
how to download a file from the web, with out using internet explorer dll's so it will be compatible also with netscape users?
-
Jun 30th, 2000, 06:33 AM
#2
Fanatic Member
Inet Control
OpenURL method
Use a string for a text/html file
Use a byte array for anything else
Paul Dwyer 
Network Engineer
Aussie In Tokyo
Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)
-
Jun 30th, 2000, 06:59 AM
#3
Thread Starter
Member
how to download and save a gif file?
-
Jun 30th, 2000, 07:09 AM
#4
Fanatic Member
Like I said, with a byte array...
Code:
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
see, simple!. It's all in the MSDN help files under OpenUrl
Paul Dwyer 
Network Engineer
Aussie In Tokyo
Using Powerbasic 6 & VB6 SP4 (Please also add your VB Version to your signature!)
-
Jun 30th, 2000, 08:51 AM
#5
Thread Starter
Member
THANKS
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
|