Wrox Programmer Forums
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 23rd, 2012, 05:26 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 196
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to jmss66
Default Save form to PDF

I generate a form with information and display it in the screen. I then issue a printform command so it can be sent to the printer. How do I save the form displayed on the screen to a PDF file. I have searched for samples and all I see is adding text to the form. I already have the text displayed on the form. I just want to save the form that is being displayed on the screen to a PDF.

Any help would be appreciated.

Old August 19th, 2012, 11:23 PM
Friend of Wrox
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts


There are ways to do it - http://stackoverflow.com/questions/4...rm-to-pdf-file

But I would suggest you use a Report and save the Report as a PDF. This would give you more control on the Formatting.

C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)

Similar Threads
Thread Thread Starter Forum Replies Last Post
Save and attach sheet as PDF rosajen Excel VBA 3 August 16th, 2011 09:32 AM
making a SAVE AS to save text boxes in a windows form VB2010 Express flexcom Visual Basic 2010 General Discussion 1 July 28th, 2011 08:36 AM
Help on PDF generation and emailing PDF as an attachment form a single form skhan Beginning PHP 0 November 30th, 2010 10:26 AM
How to save data from a fillable pdf form pjk20 PHP How-To 1 July 3rd, 2006 09:42 AM
save pdf jg22587hamburg.de VB Components 1 February 9th, 2004 05:48 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.