PaulBarter
MIS
I want the user to be able to select the printer required so use the ShowPrinter method with PrinterDefault set to False as I don't want to change the default, however my program do not get the device selected.
Simplified code is:
Private Sub Command1_Click()
CommonDialog1.PrinterDefault = False
CommonDialog1.ShowPrinter
Printer.Print "Hello"
Printer.EndDoc
End Sub
The Common Dialog does not seem to reveal the selection anywhere so how can I find what was selected.
I'm using VB6 under XP
Simplified code is:
Private Sub Command1_Click()
CommonDialog1.PrinterDefault = False
CommonDialog1.ShowPrinter
Printer.Print "Hello"
Printer.EndDoc
End Sub
The Common Dialog does not seem to reveal the selection anywhere so how can I find what was selected.
I'm using VB6 under XP