These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Not able to reference acroform.api in MS Access

summa
Registered: Apr 25 2010
Posts: 24
Answered

I am trying to write a simple program that would read the data from pdf form into a text file,
and in the process trying to reference the acroform.api plug in..

It allows me to select but does not add any reference and when I run the program I still get error saying missing libraries..

a) can I use acrform.api plugin from the acrobat reader or does it have to be from full professional version only..

fails executing these lines of code
Dim formApp As AFORMAUTLib.AFormApp
Dim acroForm As AFORMAUTLib.Fields
Dim Field As AFORMAUTLib.Field

Thanks in advance.

My Product Information:
Acrobat Standard 9.3.1, Windows
Roy Ing
Registered: Mar 27 2010
Posts: 3
Hello. To use the Acrobat API, you need Acrobat software and not the free Reader. The Acrobat 9 pro version works, but the standard version may also work. Try setting the Access References to include "Acrobat" or "Adobe Acrobat 9.0 Type Library".

Here are some articles on using Microsoft VBA with Acrobat API:

http://www.khk.net/wordpress/2009/03/04/adobe-acrobat-and-vba-an-introduction/
http://www.khk.net/wordpress/2009/03/11/acrobat-javascript-and-vb-walk-into-a-bar/

Hope this works for you.