Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dialog box when using .PrintForm
Message
De
26/08/2003 22:39:11
 
 
À
26/08/2003 00:50:57
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00823299
Message ID:
00823668
Vues:
22
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform