4个回答
展开全部
先声下面的AIP
Private Declare Function BrandExecute Lib "Shell32" 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 St As Long
Dim IEPath As String
IEPath = App.Path + "\Help\GetCDKey.htm" '存放网页路径也可以改成这个样子IEPath="www.baidu.com"
St = BrandExecute(Me.hWnd, "Open", IEPath, vbNullString, "", 5)
End Sub
Private Declare Function BrandExecute Lib "Shell32" 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 St As Long
Dim IEPath As String
IEPath = App.Path + "\Help\GetCDKey.htm" '存放网页路径也可以改成这个样子IEPath="www.baidu.com"
St = BrandExecute(Me.hWnd, "Open", IEPath, vbNullString, "", 5)
End Sub
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
Private Sub Command2_Click()
'Shell ("http://www.baidu.com")
WebBrowser1.Navigate "http://www.baidu.com"
End Sub
'Shell ("http://www.baidu.com")
WebBrowser1.Navigate "http://www.baidu.com"
End Sub
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
shell一个就行了。。。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询