-
CommondialogBox problem
Hi,
I am using Commondialog control in my program. I have one Command button in my form. If suppose i clicked on that button Printer Dialogbox has to open. If i click Print Button in that print dialogbox The form contents has to print. If i click Cancel button in that print Dialogbox It shouldn't print.
By using Commondialog control i am able to open the Print Dialogbox. But how to know which button he pressed in that Print dialogbox?
please help me in this regard
-
see this thread (it isn't using the Print option of the CDL, but the same method is needed)
http://www.vbforums.com/showthread.p...ht=cancelerror