BUG: SaveFileDialog object returns "Cancel" whether or not you overwrite an existing file (327213)
The information in this article applies to:
- Microsoft .NET Framework
- Microsoft Visual Basic .NET (2002)
- Microsoft Visual Basic .NET (2003)
This article was previously published under Q327213 SYMPTOMS 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.
Modification Type: | Minor | Last Reviewed: | 1/23/2006 |
---|
Keywords: | kbvs2005doesnotapply kbvs2005swept kbvs2002sp1sweep kbbug kbnofix KB327213 |
---|
|