New Forum | Previous | Next | (P-PDF) Developers
Topic: Call to CAcroPDDoc.Open Fails
Conf: (P-PDF) Developers, Msg: 126063
Date: 1/22/2005 05:09 AM
I have an application that is written in VB.NET. I create the following variable:
Private clsPDFDoc As Acrobat.CAcroPDDoc
Then I instantiate it using late binding as follows:
clsPDFDoc = CreateObject("AcroExch.PDDoc")
This seems OK. However, when I make the following call:
blnReturn = clsPDFDoc.Open(clsFilePath.ToString)
The return value is always False. If I navigate to the PDF file represented in the clsFilePath variable the PDF opens just fine.
Does anyone have any idea why this might be happening? Also, is there a way to tell why the Open method call failed other than it just returns 0? Any help is greatly appreciated. Thanks.