Shell "start http://handsomge.yeah.net/"

解决方案 »

  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 LongPrivate Sub Command1_Click()
      ShellExecute Form1.hwnd, "open", "www.163.com", "", "", 1
    End Sub