Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
Larry_Fluckiger@adobeforums.com #1
FillFormCS sample and Acrobat 9.0 Pro
I have an application that is similar to the SDK sample application FillFormCS. I just upgraded from Acrobat 7.0 Pro to Acrobat 9.0 Pro. Both my app and FillFormCS worked with 7.0, but with 9.0 they give me the same exception: "No document is currently open in the Acrobat Viewer".
The problem seems to be connected to the avDoc's Open() and OpeninWindowEx() functions. The document never really seems to get opened.
Can anyone tell me if FillFormCS is supposed to run correctly with Acrobat 9.0 Pro when built from Visual Studio 2008? Visual Studio upgraded the solution and source files automatically. The references to the type library and ActiveX control seem fine.
If the problem is with VS 2008, can anyone suggest what I could do since VS 2005 isn't an option?
Thanks for any help you can give me.
Larry_Fluckiger@adobeforums.com Guest
-
FillFormCS: C# Example Requirements
I downloaded the SDK as well as the examples. I was running Acrobat Professional 6.0 and Reader 7.0. The sample did not work, so I updated the Reader... -
Acrobat plugin - sample files
The acrobat plugin sample file 'uncompressed pdf' returns the error by clicking the 'build' option in vc++: error LNK2001: unresolved external... -
Parlez-vous Acrobat? Sprechen Zie Acrobat? Habla Acrobat?
Diana Goddard, "Unsupported Language" #2, 11 Jul 2005 11:07 am </cgi-bin/webx?13@@.3bbb44a3/1> -
TNA or MTA sample
Hi, I'm looking for an ATL sample that illustrates how to develop COM objects that are TNA and MTA and can be used by COM+ and IIS. thanks Paul -
Here you have a sample
Without more specifics I can show you how to get the data. This is assuming a lot because I am confused about what you want to do. Here is what I... -
Larry_Fluckiger@adobeforums.com #2
Re: FillFormCS sample and Acrobat 9.0 Pro
I just tried FillFormCS on a third computer, this time built with Visual Studio 2005. Same problem.
Can anyone successfully run the FillFormCS sample that comes with Acrobat 9.0 SDK? It is found in ...\Adobe\Acrobat 9 SDK\Version 1\InterAppCommunicationSupport\C#Samples\FillFormC S.
Is the InterAppCommunications still supported. Has it been replaced with something better?
Thanks for any help you can give me.
Larry_Fluckiger@adobeforums.com Guest
-
malkyt8@adobeforums.com #3
Re: FillFormCS sample and Acrobat 9.0 Pro
I don't have VS 2008 to test with but it works as expected with VS 2005 and Acrobat 9.
IAC is still supported.
The only thing I can think of is that the path to the file is not correct, have you tried hard coding the path ?
HTH
Malky
malkyt8@adobeforums.com Guest
-
Frank_Pearson@adobeforums.com #4
Re: FillFormCS sample and Acrobat 9.0 Pro
I get the same exact error message. Here is a sample of my C# code.
CAcroPDDoc pdDoc = null;
CAcroAVDoc avDoc = null;
// create an PDDoc object
avDoc = new AcroAVDocClass();
pdDoc = new AcroPDDocClass();
// Open the PDF
avDoc.Open("pdf form");
pdDoc = (CAcroPDDoc)avDoc.GetPDDoc();
IAFormApp formApp = new AFormAppClass();
IFields myFields = (IFields)formApp.Fields;
IEnumerator myEnumerator = myFields.GetEnumerator();
This is the same code that I have been using for a year now. It works fine with Acrobat 7.0 and Acrobat 8.1 but it fails if someone updates to Acrobat 8.1.3. The line of code that is the problem is
IFields myFields = (IFields)formApp.Fields; and it give this error
"No document is currently open in the Acrobat Viewer". Any help will be appreciated.
Frank_Pearson@adobeforums.com Guest



Reply With Quote

