謝謝!

解决方案 »

  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, vbNullString, "f:\ddd.PDF", vbNullString, vbNullString, 1
    End Sub
      

  2.   

    楼上的方法必须装有pdf的阅读工具才行!网上好像有打开pdf的控件下载!
      

  3.   

    要知道安裝路徑可以到注冊表中查詢,要用到API函數