The information in this article applies to:
SYMPTOMSIn Microsoft Project, if you use the AppExecute method in a macro to start an application, you may receive the following error message when you run the macro where <n> is the first letter in the name of the application that you are trying to run. CAUSE
This behavior occurs if the command argument of the AppExecute method
begins with a capital letter, and the capital letter is not a drive
letter in a path to the application. For example, if you use the
command argument "Analyzer.exe", (a valid command if the Analyzer
application is located in a directory that is contained in the path
statement in your AUTOEXEC.BAT file), you receive a system error
indicating that the system cannot read from drive A.
WORKAROUNDSTo work around this problem when you use the AppExecute method, use all lowercase letters in a command argument that does not contain a path to the application. For example, if you are using the AppExecute method to run the Analyzer application that is shipped with Microsoft Project, use the following syntax:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATIONYou can use the AppExecute method in a macro to run an application. The command argument of the AppExecute method is a string expression that specifies the command to start the application. However, if the command argument that you use begins with a capital letter, and this letter is not used to specify the drive letter in the path to the application, you may receive a system error as described above. REFERENCESFor more information about the AppExecute Method, choose the Search button in Help and type: AppExecute Additional query words:
Keywords : kbcode kbprg |
Last Reviewed: October 25, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |