BUG: Execute <name>.EXE Menu Item Does Not State Name of SP

Last reviewed: May 21, 1997
Article ID: Q166133
The information in this article applies to:
  • Microsoft Visual C++, 32-bit Editions, version 5.0

SYMPTOMS

If a workspace contains both a non-database project and a database project and you edit or highlight a stored procedure in a database project, the Execute menu option on the Build menu doesn't show the name of the current stored procedure. Instead, it shows the name of the non-database project .exe. When you click Execute, it runs the currently selected stored procedure, not the .exe listed on the menu.

RESOLUTION

If you open the stored procedure for editing after setting the active project to the database project, it clears the menu and indicates Execute without showing the name of the object being executed.

NOTE: If you don't have any stored procedures open for editing, you cannot run any stored procedure from the build menu and the toolbar "!" will be dimmed out.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new workspace and add a non-database project to the workspace.

  2. Add a database project to the same workspace that has stored procedures in it.

  3. Open a stored procedure in the database project by double-clicking the stored procedure or right-clicking the stored procedure.

  4. From the Project Menu set the active project to the non-Database project.

  5. Set the active project to the Database project.

  6. Click the "Build" menu and notice that it contains an enabled Execute <name>.exe (Ctr-F5) item.

If "Execute" is chosen, it will run the currently selected stored procedure rather than the .exe. To run the .exe, set the active project back to the .exe's project through the Project menu.


Additional query words: database project
Keywords : kbprg vcbuglist500 VCEntIDE VCEntIss kbbuglist
Version : 5.0
Platform : NT WINDOWS
Issue type : kbbug


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 21, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.