Private Function ResetButton1_onclick() As Boolean
'用什么语句可以打开个网页??????
End Function

解决方案 »

  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    Dim a As Long
    label1.caption="http://www.csdn.net"
    a = ShellExecute(0, "open", label1.Caption, vbNull, vbNull, 0)