Using PrintDialog(), can I specify "Preview"?

furjaw

Member
Joined
Jun 10, 2006
Messages
17
Programming Experience
Beginner
This will give me a print preview:
VB.NET:
Dim dlg As New PrintPreviewDialog()
dlg.Document = PrintDocument1
dlg.ShowDialog()

This will let me select a printer:
VB.NET:
Dim dlg As New PrintDialog()
dlg.Document = PrintDocument1
If dlg.ShowDialog = DialogResult.OK Then
PrintDocument1.Print()
End If

But, how do I do both?
 
Last edited by a moderator:
What do you mean "do both"? They are different dialogs..
 
Back
Top