Write to a PDF File From VB

Friday Nov 14th 2003 by Dinesh Asanka

Learn how to create a PDF file using Visual Basic. (The source code and demo project were updated.)

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.


Download source code - 6 Kb
Download demo project - 13 Kb
Mobile Site | Full Site
Copyright 2017 © QuinStreet Inc. All Rights Reserved