>>I need to use the Common Dialog to display the Printer Setup dialog. How do I detect if the user presses Cancel?
>
>You've to set CancelError=.T. and use error handler to capture error when Cancel button is clicked.
Thanks..
Next question, now that I've been playing with this a bit. If PrinterDefault = .T., the dialog changes the Windows default printer, which is not acceptable. I need to have PrinterDefault = .F. When I do that, how do I determine which printer the user selected?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer