I've seen this in C# where people have overlooked the rules for using \ in a string and just written something like FileName="C:\Dir\Thing.pdf"
I still don't quite understand.
The error message happened when running the new interface code, which is:
AcroAVDoc pdfDoc = new AcroAVDoc();
It hasn't even get the field of filename, it shouldn't complain about the path issue.
1. Be sure you don't just have Adobe Reader installed. You need a full copy of Acrobat.
2. Sometimes it seems necessary to create an AcroExch.App object first.
3. I have found debuggers can be misleading. Did you try adding a message after the new AcroAVDoc to see if it actually passed that line?
Make sure you have a copy of the SDK and associated documentation and have read it and looked at the samples.
I don't quite understand "full copy of Acrobat", I have Adobe Acrobat 9 Standard, Adobe Reader 9.3.4 installed, Does it mean that I have "full copy of Acrobat"?
I added a message after the new AcroAVDoc, it didn't passed that line.
I would try to create an AcroExch.App object first, and see what happen
1 person found this helpful
Just to clarify the meaning of the comma in " I have Adobe Acrobat 9 Standard, Adobe Reader 9.3.4 installed". Do you mean that you have both of these products installed, the purchased Acrobat and the free Adobe Reader?
This can cause problems; try starting Acrobat first to make sure Reader doesn't get involved.
Yes, I have both the purchased Acrobat and the free Adobe Reader installed on my computer.
You are right. I just noticed I have a pdf file opened with Adobe Reader. I think the project just look the current activate Adove reader and get an error.
After I closed the Adobe Reader, it run successfully.
Could you tell me how to open Adobe Acrobat interface without Reader involved even I have a activate Reader?
It's a tricky one unless you take a brute force approach. Just start Acrobat at the start of the code - it will only start once. However, that won't close Reader. I think in 10.0 they are independent, in 9.0 only one can run.
Yes, as of Acrobat/Reader X, you can explicitly target one or the other – the conflict no longer happens.
So upgrade ☺.