Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dialog box when using .PrintForm
Message
From
26/08/2003 22:39:11
 
 
To
26/08/2003 00:50:57
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00823299
Message ID:
00823668
Views:
23
This message has been marked as the solution to the initial question of the thread.
Hi Randy,

Try the ff. Code
Private Sub Command1_Click()
    On Error GoTo DontPrint
    CommonDialog1.CancelError = True
    CommonDialog1.ShowPrinter

    Form1.PrintForm
    Exit Sub
    
DontPrint:
    ' Cancel Button was chosen so exit printing ...
    MsgBox "Printing Cancelled by User.", vbOKOnly + vbInformation
End Sub
Hope this helps


Noel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform