We downloaded the sdk and we've installed Acrobat DC Professional.
We looked at the IAC FillFormCS example project in this folder: sdkDC_v1_win\Adobe\Acrobat DC SDK\Version 1\InterAppCommunicationSupport\C#Samples\FillFormCS
FillFormCS references these two .dlls:
We removed the references to the two Interop.xxx.dlls and tried to re-add them but they are no where to be found (as you can see in this screen shot):
So, where are the .dlls to make the SDK examples work?
In your screenshot I can see 2 references to Acrobat.
Thank you for taking time to answer and you are correct.
Here are the two references that need to be selected to get the .dlls needed for this example.
However, there are issues, that point to sloppy and lazy development on Adobe's part, which makes development confusing.
1. There are 2 Acrobat listings. The first is for Acrobat 5 and the other Acrobat DC, however, the description in the right pane says "Version 1.0" for both. What a confusing mess, right?
2. One would think selecting the 2nd Acrobat listing (Acrobat DC) would work, however, after clicking the "OK" button, and then reopening the Reference Manager, you'll notice "Adobe Acrobat 10.0 Type Library" is selected instead and is the actual selection needed for the interop.Acrobat.dll. That's clear, huh?
Do you have more than one version of Acrobat installed on your system? If so, that could explain the problems you are running into. Only one installed version of Acrobat is supported.
Thank you, that's news to us; we had the understanding that Adobe 5 and Adobe DC can co-exist on the same system. Can you point to any documentation that supports your assertion? We would like very much to review them.
There are no such products. When you say Adobe 5 and Adobe DC what products are you referring to. Do you mean Adobe Acrobat 5 and Adobe Acrobat DC or the Adobe Reader?
Installing Acrobat DC on the same machine as Acrobat 5 is not supported and may well be the cause of your problems – since one reason it is not supported is that the two versions will fight over system registrations (such as from COM/.NET).
Irosenth, thank you.
This was indeed an issue. Most modern software don't have this caveat, so it would be nice if, during the installation process, a warning would be displayed stating this fact. Or just not allow this to happened, stating "only one version of adobe can be installed at a time...".
Actually, it does – but it only tests back to around Acrobat 8/9 – things that run on the same OS platforms that Acrobat itself runs on. (ie. since Acrobat 5 isn’t approved for use on Win 7 or later, but Acrobat DC requires that, there shouldn’t be the need)…
But bottom line – glad it is working!
Irosenth, took your advice and removed Acrobat 5.
"Error: Acrobat is not installed on this system" is displayed, after we install Acrobat Reader.
Can you tell me the Acrobat product that a customer needs to have, in order that this code does not display the error?
Type typeAcroApp = System.Type.GetTypeFromProgID("AcroExch.App");
Type typeAcroDoc = System.Type.GetTypeFromProgID("AcroExch.AVDoc");
if ((typeAcroApp == null) || (typeAcroDoc == null))
MessageBox.Show("Error: Acrobat is not installed on this system.");
You need a copy of Acrobat (Not Reader).
Can you please elaborate on the versions of Acrobat?
We've installed Adobe Acrobat Reader DC and that doesn't work.
Can you provide a url to the exact product?
This is so confusing.
In their wisdom Adobe keep changing the name of the Reader. It used to be called Adobe Reader and then they decided to call it Adobe Acrobat Reader. Basically you need to use the paid for Adobe Acrobat product which contains the Adobe Acrobat Viewer (i.e. not Reader).
If it helps more, the executables for the Acrobat Viewer are Acrobat.exe and the Reader is AcroRd32.exe. Document Cloud
Is this statement true?:
The version of Acrobat you are referring to is "Acrobat Pro DC".
Is this statement is true?
The customer, who only needs to fill out a pdf form, will need to install "Acrobat Pro DC".
Actually it could be Acrobat Pro DC or Acrobat Standard DC.
You can fill out a form in Acrobat Pro DC, Acrobat Standard DC and/or Adobe (Acrobat) Reader.
We are trying to answer 2 fundamental questions:
Do our customers need to buy something from Adobe?
What Adobe products need to be installed on their computers?
Here's an overview of our process:
Our customers use a custom WinForms app, to launch a pdf in separate Adobe Acrobat Window. They fill out the form and click "save" or "cancel". If they click save, the Winforms app gathers the pdf control values, that the customer filled out and databases those values. The next time the customer views that pdf, the pdf controls are pre-populated with the saved values.
Customers will need to have Adobe Acrobat Standard or Pro – see https://acrobat.adobe.com/us/en/acrobat.html