New Forum | Previous | Next | (P-PDF) Developers
Topic: AcroExchPDDoc.Open isn't opening
Conf: (P-PDF) Developers, Msg: 91850
Date: 7/11/2003 05:16 AM
Got some VB code running of an MS Access click() event:
Private Sub GetPDF_Click()
Dim AcroExchApp As Object
Dim AcroExchPDDoc As Object
Dim szFullPath As String
szFullPath = "C:\testcase.pdf"
Set AcroExchApp = CreateObject("AcroExch.App")
Set AcroExchPDDoc = CreateObject("AcroExch.PDDoc")
Acrobat pops up but my .pdf file doesn't open. Any ideas what I'm doing wrong. Yes, the file exists where szFullPath says. I've searched through all the related posts here but I still haven't licked this problem.