Skip to main content
June 16, 2016
Answered

Merge XML with regular Adobe Reader (DC)?

  • June 16, 2016
  • 2 replies
  • 1366 views

Hi all

We have developed a PDF file containing multiple form fields.

We use a VBScript file to merge a XML file with the PDF file.

This works perfectly on my development pc with Adobe Acrobat Pro DC installed.

However, when I try to run the same code on a pc with (only) the Adobe Acrobat Reader installed, the script fails and the following error code is shown:

ActiveX component can't create object.

Is it really necessary to have Adobe Acrobat Pro DC installed on every client pc?

We understand that it is necessary to buy a Adobe Acrobat Pro DC license to be able to create the PDF file, but we presumed it was possible to run this code with just the Adobe Acrobat Reader installed? Or are there extra libraries (for Adobe Acrobat Reader) that need to be installed on the client computers?

Thanks.

Best Regards

This topic has been closed for replies.
Correct answer Karl Heinz Kremer

You can do it via a FDF or XFDF file that references the original PDF file. In your VBScript you would have to prepare such a file, and then open that with Reader. Reader will then open the referenced PDF file and fill in the form fields.

2 replies

Karl Heinz  Kremer
Community Expert
Community Expert
June 16, 2016

Yes, it is necessary to have Adobe Acrobat installed on every computer on which you want to run this application. The IAC interface that you are using exposes only very limited functionality in Reader, for most of the functionality you need Adobe Acrobat.

June 16, 2016

Hi Karl

Thank you for the quick and clear response.

Is there any other way to fill the form fields with data from a VBScript file without using the IAC interface?

I presume the Reader only has functionality for opening/printing files?

Thanks.

Karl Heinz  Kremer
Community Expert
Karl Heinz KremerCommunity ExpertCorrect answer
Community Expert
June 16, 2016

You can do it via a FDF or XFDF file that references the original PDF file. In your VBScript you would have to prepare such a file, and then open that with Reader. Reader will then open the referenced PDF file and fill in the form fields.

try67
Community Expert
Community Expert
June 16, 2016

[Question moved to the Acrobat SDK forum]