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 LongShellExecute Me.hwnd, vbNullString, "http://www.abcd.com?username=yyy", vbNullString, "C:\", SW_SHOWNORMAL
'C:\Program Files\Internet Explorer\IEXPLORE.EXE
'这个是IE的具体路径,我是Win2000的机器
'IE并不在“运行”默认的目录下。