Is there an easy way to overwrite an existing file? When saving a file, the confirmation window to overwrite the existing file has the same properties as the Save As window.
I tried that, and it worked in XP, but when running in Vista or 7 it would still fail to find the Yes button. It turned out that this was due to the behind the scene difference of the Save dialogs between XP and the other OSs. I found a solution by using the new SaveFile method and then using the FindChild method from the Save dialog's parent to find the Yes button.