|
-
May 9th, 2001, 10:04 AM
#1
Thread Starter
New Member
Problem with Inet
Hi
I'm pretty new to VB. I've been trying to use code similar to this to download a webpage and put it into a file.
Dim b() As Byte
Inet1.Protocol = icHTTP
Inet1.URL = URL
b() = Inet1.OpenURL(Inet1.URL, icByteArray)
Open App.Path + "\filename" For Binary Access Write As #1
Put #1, , b()
Close #1
My problem is that I'm getting a "Variable Not Defined" error for Inet1. Does anyone know how to fix this?
Thanx.
Last edited by pcrowley; May 9th, 2001 at 12:18 PM.
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
|