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 Const SW_SHOW = 5
Private Sub Label1_Click()
Call ShellExecute(Me.hwnd, "open", "www.sina.com.cn", "", "", SW_SHOW)
End Sub
使用ShellExecute打开网页
171

被折叠的 条评论
为什么被折叠?



