Solved

Printing Elements

Posted on 2004-03-24
5
137 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
5 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 125 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

839 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