Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 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 December 1st, 2004, 06:09 PM
Registered User
 
Join Date: Dec 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Printing Textboxes

Does anyone know how to print the text from a textbox?
I need to print the text from txtDrywallSummary, txtTrackSummary and txtStudSummary when cmdPrint is clicked.

Thanks
 
Old December 1st, 2004, 07:30 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

I believe your best bet is going to be to either read what others have entered into the boxes (or hold the data that you have put into them), and print it behind the scenes (so to speak).

VB has a Printer object for handling this, about which you can read in Help (as I'm sure you know; just mentioning Help to be complete).
 
Old December 2nd, 2004, 12:02 AM
Registered User
 
Join Date: Dec 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok, thanks

i tried it and it worked fine, i even played with it a bit and got it to print all three summaries on one page.

thanks again






Similar Threads
Thread Thread Starter Forum Replies Last Post
Addition of Textboxes rhd110 General .NET 3 June 23rd, 2007 04:49 PM
Two TextBoxes [email protected] ASP.NET 1.0 and 1.1 Basics 5 April 1st, 2006 06:32 AM
calculate 2 textboxes chriskhan2000 BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 2 December 1st, 2005 09:11 PM
capturing printing settings when printing reports nikolaosk Access VBA 0 February 8th, 2005 04:14 AM
Currency value in textboxes mahulda ASP.NET 1.0 and 1.1 Basics 1 April 6th, 2004 02:10 PM





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