在vb中怎樣打開Pdf文檔。

解决方案 »

  1.   

    http://community.csdn.net/Expert/topic/2931/2931723.xml?temp=.5086786
    http://community.csdn.net/Expert/topic/2804/2804766.xml?temp=.2045404
      

  2.   

    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:\aa.pdf", vbNullString, vbNullString, 1
    End Sub