Hi
I placed a common dialog box in my VB 6 program and in the "Print" command button on my form, I put "CommonDialog1.showprinter" in the Click event with the code for my report immediately following it. I am not using crystal but simply a bunch of Printer.Print, etc statements to make up my report.
It works fine in that it shows the printer dialog box when the user clicks on the Print button but my report prints even if the user click on "Cancel" from the Printer dialog box.
Can you show me how to make the report print only if the user clicks on OK on the printer dialog box?
Thanks,


Reply With Quote
