Advertisement
ASP_Volume2 Internet/ HTML #36106

Get HTML Source From a Website w\ Inet

Just like it says: Get HTML Source From a Website!

AI

สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ซอร์สโค้ด
original-source
'Load Richtx32.ocx
 'Load msinet.ocx
 'Make a RichTextBox1
 'Make an Inet1
 'Make a plain textbox names URL
 'Make a command1
 
 Private Sub Command1_Click() 
 On Error Resume Next 
   
   Dim txt As String 
   Dim b() As Byte 
   
   Command1.Enabled = False 
   
   b() = Inet1.OpenURL(URL.Text, 1) 
   
   txt = "" 
   
   For t = 0 To UBound(b) - 1 
     txt = txt + Chr(b(t)) 
   Next 
   
   RichTextBox1.Text = txt 
   Command1.Enabled = True 
 
 Exit Sub 
 End Sub
Upload
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine