> Does anyone know of a good way to populate PDF fill-in forms through a
> Visual Basic Program? The best I have come up with so far is to use
> the PDF.OCX that comes with Acrobat Reader 4 inside a VB program. I
> can load the PDF form OK, and print it; but to fill data into it
> requires the use of Sendkeys to send keystrokes to the form (Which is
> less than desirable).
> Is anyone else using this approach to populate PDF forms with data
> from a database?
You can use FDF files to fill form fields, or use the Forms API with
Acrobat 4 (not Reader) to fill the fields directly. You can get more
information with the FDF Toolkit and the Acrobat SDK
I've put together a demo VB project that uses the ActiveX version of the
FDF Toolkit to create an FDF file using data from an Access database, and
then launches the FDF file, causing the corresponding PDF to load and
populate with data from the FDF file. This works with Reader, although
Reader cannot save the resulting filled-in form. Reader can only display
and print it. If you'd like this, let me know.
My advice regarding the PDF.OCX is to forget about it.