Private Sub Button1_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Button1.Click
' Create a PrintDocument object
Dim prDoc As New PrintDocument
' Link the printing procedure with the PrintPage event.
AddHandler prDoc.PrintPage, AddressOf Me.pd_PrintPage<
' Create the printer settings dialog box and associate
' it with the PrintDocument object.
Dim prDlg As New PrintDialog
prDlg.Document = prDoc
' Display dialog. If user closes dialog with OK,
' start printing.
if prDlg.ShowDialog = DialogResult.OK Then prDoc.Print()
End Sub
--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com
"UltimateNickFury" <Ul**************@discussions.microsoft.com> wrote in
message news:13**********************************@microsof t.com...
This doesn't answer the question posted. I article only addresses the
PrintDialogue and the PrintPreview dialogue which I already know how to
display. The "PrinterSettings" dialogue is displayed by clicking a button
from the PrintDialogue. Again, how does one directly display the
"PrinterSettings" Dialogue form a form? Thanks.
"vbnetdev" wrote:
http://www.startvbdotnet.com/controls/printdialog.aspx
--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com
"UltimateNickFury" <Ul**************@discussions.microsoft.com> wrote in
message news:02**********************************@microsof t.com... > Hello,
>
> I am trying to display the "Printer Settings" dialogue in vb.net. I
> have
> found the code for performing this in VB6 but am wondering how this is
> done
> in vb.net. Thanks.