|
-
Jul 5th, 2000, 01:58 PM
#1
Thread Starter
Member
how do i get the print dialog to appear, and then how do i recieve the information the user input into it?
-
Jul 5th, 2000, 02:05 PM
#2
Hyperactive Member
Add a common dialog control to your form and name it CommonDialog1. Then use the following statement to call the dialog box:
CommonDialog1.ShowPrinter
Once the user clicks OK you are responsible for the printing code. Here is an example:
Printer.Print "This is a Test"
or
test$ = "This is a Test"
Printer.Print test$
To send it to the printer when done use:
Printer.EndDoc
It is really simple to use once you get the BASIC concept. Hope this helps a little.
-
Jul 5th, 2000, 02:13 PM
#3
Hyperactive Member
this should work
try this
Add the commondialog control to the form
commondialog1.printerdefault = true
Commondialog1.showprinter
printer.print text1.text
Matt 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|