Solved

Visual basics

Posted on 2003-12-01
7
365 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
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Title # Comments Views Activity
Change the background and font colors in Notepad++ 5 107
Advice in Xamarin 21 95
draw a Christmas tree by using a nested loop? 26 75
SQL Insert parts by customer 12 42
This article will show, step by step, how to integrate R code into a R Sweave document
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.
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 …

790 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