FIX: CommandTargetExec Ignores Return Value (221700)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q221700 SYMPTOMS
In the ActiveDoc class of an ActiveDocument, the CommandTargetExec event ignores the value returned by the user in the RETURN command and returns CMD_OK under all circumstances. This means that the ActiveDocument host (normally Internet Explorer) assumes that the ActiveDocument handled any command called from the menu that was passed to the ActiveDocument.
In addition, the return values defined in FoxPro.h are incorrect.
RESOLUTION
While the FoxPro.h values can be corrected, they are still not handled correctly in Visual FoxPro 6.0 Build 8167 (original release). You need to upgrade to Visual Studio 6.0 Service Pack 3 for this functionality to work.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in Visual Studio 6.0 Service Pack 3.
For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base: 194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why
194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed REFERENCES
For additional information about Active Documents, please click the article numbers below
to view the articles in the Microsoft Knowledge Base:
182579 HOWTO: Getting Started With Active Documents 182580 HOWTO: Set Up a Quick Menu for an ActiveDoc App
Modification Type: | Major | Last Reviewed: | 10/15/2002 |
---|
Keywords: | kbActiveDocs kbBug kbVS600sp3fix KB221700 |
---|
|