?
Solved

Printing Elements

Posted on 2004-03-24
5
Medium Priority
?
143 Views
Last Modified: 2010-05-01
How do I print only certain things in my program?  Similairly to the print screen function.

Here's what I want to do:

I want to have a box with two text boxes inside of it.  All that I want to print is the lines of the box and the text that was typed.  I don't want to print the "background" of the program like the print screen function does.  I also don't want the box around the text box, and the white area of a text box to be printed.  I want them to be printed exactly as they are viewed on the screen.
0
Comment
Question by:pzebleckis498
  • 2
2 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 500 total points
ID: 10674978
http://www.developerfusion.com/show/86/3/

Printer.Print textbox1.text & vbcrlf
Printer.print textbox2.text
0
 
LVL 53

Expert Comment

by:Dhaest
ID: 11256735
My recommandation: answered by dhaest
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month15 days, 13 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question