The information in this article applies to:
SYMPTOMSA VBScript macro causes an application error in Msdev.exe when calling the Documents.Open method on a file that does not exist. This problem may occur, for example, if the file is managed by a source management system such as SourceSafe. CAUSEThe file specified in the first Documents.Open parameter does not exist. The file may have been deleted or renamed on the local drive. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. MORE INFORMATIONThe Documents.Open method takes three parameters:
If the file to be opened does not exist, VBScript throws a run-time exception error. The exception is normal and expected under this condition; however, Developer Studio does not handle it properly and faults internally. Steps to Reproduce Behavior
REFERENCESFor additional information about macros crashing Developer Studio, please see the following article in the Microsoft Knowledge Base: Q193478 Run-time Macro Errors Cause Developer Studio to Crash Additional query words:
Keywords : kbservicepack kbAutomation kbVC500bug kbVC600bug kbVCObj kbVS600sp2 kbVS600SP1 kbVS600sp3fix |
Last Reviewed: May 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |