The information in this article applies to:
SYMPTOMSA VBScript macro ExecuteCommand method does not perform its specified command. Instead, it may perform an unexpected command or have no effect at all. Often, the macro generates no error messages. CAUSEThe ExecuteCommand method takes one parameter--the keyword that Developer Studio will attempt to execute. If this keyword is not enclosed in quotation marks, the problems above may occur. RESOLUTION
Enclose the command keyword following the ExecuteCommand method in
quotation marks.
However, if there is no active project when the macro executes, that
command will have no effect.
For additional information, please see the following article in the Microsoft Knowledge Base: Q165681 INFO: Visual C++ 5.0 Readme, Build Issues MORE INFORMATION
Always use quotation marks around the command keyword of ExecuteCommand.
Developer Studio's behavior varies otherwise. Some commands, such as
"Build", work without quotation marks. The "New" command generates a syntax
error if it is not enclosed in quotation marks. Most commands perform no
action at all when quotation marks are absent.
REFERENCES"ExecuteCommand Method," Visual C++ Online Books Additional query words: kbdsstools
Keywords : kbAutomation kbide kbVC kbVC500 kbVC600 kbVS kbGrpDSTools kbvc600faq |
Last Reviewed: December 22, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |