Automate Adobe Acrobat to convert TIFs to PDFs.

Category:
Miscellaneous
Type:
Snippets
Difficulty:
Intermediate
Author:
Alastair Vance

Version Compatibility:

More information:
You will need the complete version of Adobe Acrobat 4.0. Create a new VB project and link in "Adobe Acrobat 4.0 Type Library". Then paste the TIF2PDF function into your project.

The function can actually be used to convert any file type that Acrobat 4.0 allows you to open from it's file/open menu.

This code may work in VB5, but has been tested in VB6 only.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: