VB中用WebBrowser可以打开一个网页,操作完成后进入另一个网页中,怎样才能让新网页用ie来打开
已经在网页上找到答案了。PrivateDeclareFunctionShellExecuteLib"shell32.dll"Alias"ShellExecuteA"(By...
已经在网页上找到答案了。
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
a = WebBrowser1.LocationURL
ShellExecute Me.hwnd, "open", a, "", "", 5 展开
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
a = WebBrowser1.LocationURL
ShellExecute Me.hwnd, "open", a, "", "", 5 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询