Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Visual basics

Posted on 2003-12-01
7
Medium Priority
?
373 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
  • 2
4 Comments
 
LVL 53

Accepted Solution

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Make the most of your online learning experience.
Loops Section Overview
Screencast - Getting to Know the Pipeline

824 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