by Anonymous (267 Submissions)
Category: Internet/HTML
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 24th July 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Retrieve a web page using the Microsoft Internet Transfer Control
Dim b() As Byte
'set protocol to HTTP
Inet1.Protocol = icHTTP
'set URL
Inet1.URL = "http://www.microsoft.com"
' Retrieve the HTML data into a byte array.
b() = Inet1.OpenURL(Inet1.URL, icByteArray)
' Create a local file from the retrieved data.
Open "test.htm" For Binary Access Write As #1
Put #1, , b()
Close #1
No comments have been posted about Retrieve a web page using the Microsoft Internet Transfer Control. Why not be the first to post a comment about Retrieve a web page using the Microsoft Internet Transfer Control.