How can I detect what button was pressed on the commondialog control. (save/open or cancel button)
Printable View
How can I detect what button was pressed on the commondialog control. (save/open or cancel button)
Set its CancelError property to true, then when it returns, if the user pressed Cancel, error number 32755 (cdlCancel) will be raised. If they press Save/Open, no error will occur.
thanx, ;)