Write to a PDF File From VB

Environment: Visual Basic 6

When it comes to generating reports in software systems, most users want these reports to be printed as an Adobe Portable Document Format (PDF) file, which is is normally a read-only format so that users can't change the contents of it. Most customers will ask that your report be printed in PDF format.

From this example, you do not have to install any third-party controls to create the PDF file.This example converts a text file and creates a PDF file.

Downloads

Download source code - 6 Kb
Download demo project - 13 Kb