ÔõÑùÓÃwebbrowserµÃµ½Ò»¸öurlµØÖ·µÄHTML´úÂë?
how can I use the webbrowser to get the HTML code of a url address?
Printable View
ÔõÑùÓÃwebbrowserµÃµ½Ò»¸öurlµØÖ·µÄHTML´úÂë?
how can I use the webbrowser to get the HTML code of a url address?
VB Code:
Option Explicit Dim Source, Source1 Private Sub Command1_Click() End End Sub Private Sub Command2_Click() If Text1 <> "" Then Source1 = Inet1.OpenURL(Text1.Text) End If If Box1 <> "" Then Box1.Text = Source1 Inet1.Cancel Else Source = MsgBox("Couldn't get source code!") End If End Sub
my mean is only use webbrowser not use inet
but also think you