我想在vb程序中shell一个网页(www.sina.com.cn)(远程的)
请问如何实现

解决方案 »

  1.   

    Shell "C:\Program Files\Internet Explorer\IEXPLORE.EXE www.sina.com.cn"
      

  2.   

    Shell "explorer http://www.163.com"
      

  3.   

    Public 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
    Call ShellExecute(Me.hWnd, "open", "www.sina.com.cn", "", "", 1)
      

  4.   

    Private Sub Command1_Click()
        Shell "Explorer http://www.sina.com.cn"
    End Sub
      

  5.   

    我需要ShellExecute的例子
    to:baoaya(点头)
    我在win2000pro下打不开网页,只能打开本地的
    谁来帮帮忙
      

  6.   

    to:lxcc(虫子|专注于抢分) 
    功能实现了,但是ie窗口没有actived
      

  7.   

    ShellExecute(Me.hWnd, "open", "www.163.com", vbnullstring, vbnullstring, 1)
      

  8.   

    Private Sub Command1_Click()
        Shell "Explorer http://www.sina.com.cn", vbMaximizedFocus
    End Sub
      

  9.   

    to:lxcc(虫子|专注于抢分)
    ie没有actived啊,焦点还是在vb程序上
      

  10.   

    Shell "C:\Program Files\Internet Explorer\IEXPLORE.EXE www.sina.com.cn",vbnomalfocus
      

  11.   

    谁来帮帮忙啊
    为什么
    ShellExecute(Me.hWnd, "open", "www.163.com", vbnullstring, vbnullstring, 1)
    不行啊(加了http://也不行啊)
      

  12.   

    Shell "explorer http://www.sina.com.cn"