Article ID: 327213 - Last Review: January 23, 2006 - Revision: 2.5 BUG: SaveFileDialog object returns "Cancel" whether or not you overwrite an existing fileThis article was previously published under Q327213 On This PageSYMPTOMS When you call the ShowDialog method of a SaveFileDialog object from the Sub Main procedure, you receive
DialogResult.CANCEL whether or not you choose to overwrite an existing file.
RESOLUTION To avoid this problem, call the ShowDialog method from outside the Sub Main procedure. STATUSMicrosoft has confirmed that this is a bug in the Microsoft
products that are listed at the beginning of this article.
MORE INFORMATIONSteps to Reproduce the Behavior
| Article Translations
|
Back to the top
