URGENT!!!!!!! Printing a forms content

Posted on 2003-02-26
Medium Priority
Last Modified: 2010-05-01
At the moment i am using:


But this prints the actual form, is there a way that i can print everything on the form in there positions but not the form, frame or the buttons.
Question by:pastiesrus
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment

Accepted Solution

WarLord earned 180 total points
ID: 8025847
yes it is possible, create another form called:

make the borderstyle of the form none(first option)... create the same ammount of labels as you have in the form as textboxes which you want to print(the main form)then make background color of the form white ( so you will have a transparant form as you print it)

then go back to the first form make a button

if you now have a textbox in your main form called lets say: txtname

place this code under the button:

frmprint.label1.caption = txtname.text

this will work...

Greets Erik


Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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 Month8 days, 10 hours left to enroll

764 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