Has anyone encountered an environment where this call immediately returns
DialogResult.Cancel ?
No print dialog is shown , no exception is thrown , no hang .... bizarre.
This doesn't happen on all our machines , just on a couple of Windows Server
2003 RC2 Enterprise x64 Edition boxes.
Just off the top of my head...any chance that these two servers have
absolutely no printers defined?
PrintDialog printDlg = new PrintDialog();
printDlg.Document = doc;
printDlg.UseEXDialog = true;
DialogResult res = printDlg.ShowDialog();