已经用shell将网页a打开,下一次再点击打开网页a按钮时,客户要求做成:网页a又能以一个新的页面弹出,也就是有两个网页a的页面被打开,用什么办法能实现呢?现在用shell第二次打开网页a时只在原有的网页a上更新,不能再打开一个网页a。非常着急,谢谢!

解决方案 »

  1.   

    先用shell打开ie
    然后再用他打开你要的网址
      

  2.   

    不会吧?我这里每执行一次都打开新的窗口。
    Shell "C:\Program Files\Internet Explorer\iexplore.exe http://www.cret.com.cn/index.htm", vbNormalFocus
      

  3.   

    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 Sub Command1_Click()
        Shell ("explorer http://www.163.com")
    End Sub