How do I trap a Save As Prompt within a Save As Dialog Box?

  • Thread starter Thread starter Me
  • Start date Start date
M

Me

When I use the SaveDialogFile and I try to save to a file that already
exists, the following prompt (message box) pops up:

Save As
File exists - do you want to replace the existing file?
Yes No

How do I trap for both the Yes and the No Dialog results. It does not appear
to be returned in the I need to explictly perform certain tasks for each
answer.

Thanks,

Me
 
I solved the problem. I just checked the SaveAsDialog.FileName to see if it
existed.

I took it from there.

Me
 
Back
Top