Q: Common Dialog and Cancel

i had a question for a common dialog.  after opening the dialog how do you set 
an error trap for the user if he presses cancel instead of choosing a file and 
then make the program ignore the rest of the code and just exis the sub. 
please respond soon 

SMunjal05@aol.com

A: See the example vb5CommonDialog.zip Return