Microsoft KB Archive/928895

= The &quot;Save As&quot; dialog box is displayed unexpectedly when you close a read-only Visio drawing in Visio 2003 =

Article ID: 928895

Article Last Modified on 12/13/2006

-

APPLIES TO


 * Microsoft Office Visio Professional 2003
 * Microsoft Office Visio Standard 2003

-



SYMPTOMS
When you close a read-only Visio drawing in Microsoft Office Visio 2003, the Save As dialog box is displayed unexpectedly. This issue occurs if the following conditions are true:
 * You have a Component Object Model (COM) add-in that handles the BeforeDocumentClose event.
 * You make some changes in the Visio drawing before you close it.



CAUSE
This issue occurs because Visio 2003 triggers the Save As dialog box before it triggers the BeforeDocumentClose event.



WORKAROUND
To work around this issue, capture the QueryCancelDocumentClose event. The QueryCancelDocumentClose event occurs before the Save As dialog box appears.



STATUS
This behavior is by design.

Additional query words: VISIO2003

Keywords: kbtshoot kbexpertiseinter kbprb KB928895

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.