Solved

Printing Elements

Posted on 2004-03-24
5
135 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

810 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