Option Explicit
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()
'百度
Dim ret As Long
ret = ShellExecute(Me.hwnd, "Open", "http://www.baidu.com/s?wd=" & Text1.Text, "", App.Path, 1)
End Sub