RT。

解决方案 »

  1.   

    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 LongPrivate Sub Command1_Click()
     ShellExecute Me.hWnd, "open", "C:\xmlUser.xml", vbNullString, vbNullString, SW_SHOW
    End Sub
      

  2.   

    第二种方法:添加Microsoft Internet Control
        WebBrowser1.Navigate "C:\xmlUser.xml"
      

  3.   

    Shell "c:\program files\internet explorer\iexplore.exe c:\xmluser.xml"