VB控件訪問瀏覽器
1. 控件訪問瀏覽器
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 Long
Private Sub Command1_Click()
ShellExecute hwnd, "open", "www.baidu.com", vbNullString, vbNullString, conSwNormal
End Sub

浙公網安備 33010602011771號