Option Explicit Private Sub Command1_Click() 'connect the required website Dim b() As Byte Inet1.Cancel Inet1.Protocol = icHTTP Inet1.URL = Text1.Text 'input the website b() = Inet1.OpenURL(, icByteArray) Open "文件存放位置如:c:\1.txt" For Binary Access Write As #1 Put #1, , b() Close #1 End Sub