如果是想打开网页,也可以用ShellExecute API函数来做:Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As LongPrivate Sub Command1_Click() ShellExecute 0, "open", "www.hao123.com", "", "", 1 End Sub
打开网页
ShellExecute 0, "open", "www.hao123.com", "", "", 1
End Sub
MSN:[email protected]
然後用HTML對象來分析。
[email protected]