Solved

Visual basics

Posted on 2003-12-01
7
366 Views
Last Modified: 2013-12-04
How do you make a button print out the form while the program is running
0
Comment
Question by:fishmanfishman
[X]
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
  • 2
7 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 50 total points
ID: 9850344
public sub command1()
   YourFormName.PrintForm
end sub
0
 
LVL 5

Expert Comment

by:peterpuscas
ID: 9850364
Open the form for design.
Double click on your button.
(If you don't have the button yet, open the toolbox from Menu\View\Toolbox and add the button on the form)

write :
  Me.PrintForm

example:
Private Sub Command1_Click()
  Me.PrintForm
End Sub
0
 

Expert Comment

by:death_befo_dishonor
ID: 9854949
a friendly tip on how to sound more professional: it's 'visual basic', not 'visual basics' :P

(im just playin and annoying people as usual)

laterz bro

btw both those guys above have correct answers
0
 
LVL 53

Expert Comment

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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Suggested Solutions

This article will show, step by step, how to integrate R code into a R Sweave document
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

696 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