On Wed, 16 Jul 2003, Niemiec, Neal wrote: > Quick question, so how do you setup error handling with the standard > FILEOPENDLG or SAVEFILEASDLG dialogs? > > Basically, when someone clicks on Cancel from either of these dialogs it > starts a number of errors and ends the program. >
When Cancel is clicked these dialogs return a null string for the file name. You need to check for that condition on return from these calls. - Bill Thoen --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 7677
