Link to home
Start Free TrialLog in
Avatar of fishmanfishman
fishmanfishman

asked on

Visual basics

How do you make a button print out the form while the program is running
ASKER CERTIFIED SOLUTION
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of peterpuscas
peterpuscas

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
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
My recommandation: answered by dhaest