Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 23rd, 2012, 05:26 PM
Friend of Wrox
Points: 1,035, Level: 12
Points: 1,035, Level: 12 Points: 1,035, Level: 12 Points: 1,035, Level: 12
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , USA.
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.

Thanks.
Reply With Quote
  #2 (permalink)  
Old August 19th, 2012, 11:23 PM
Friend of Wrox
Points: 3,060, Level: 23
Points: 3,060, Level: 23 Points: 3,060, Level: 23 Points: 3,060, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: , , .
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Hi

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.

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

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 02:14 AM.


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