DOCUMENT:Q194974 30-OCT-1998 [vbwin] TITLE :BUG: Visual Modeler 2.0 Reverse Engineering Error PRODUCT :Microsoft Visual Basic for Windows PROD/VER:WINDOWS:6.0; WINNT:6.0 OPER/SYS:WINDOWS winnt KEYWORDS:kbVBp600bug kbWizard kbAddIn kbVMod200 ====================================================================== --------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual Basic Enterprise Edition for Windows, version 6.0 - Microsoft Visual Studio, Enterprise Edition 6.0 --------------------------------------------------------------------- SYMPTOMS ======== When reverse engineering a Visual Basic project to Visual Modeler with the Load Behavior as Loaded/Unloaded, the following error occurs: No Visual Basic Project was selected for reverse engineering. RESOLUTION ========== For Reverse Engineering to work correctly, you have to specify the Visual Modeler Load Behavior as Load on Startup in Visual Basic 6.0 Add-In Manager, and then restart Visual Basic. STATUS ====== Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATION ================ Steps to Reproduce Behavior --------------------------- 1. Start a new project in Visual Basic and open the project you want to reverse engineer. 2. If Visual Modeler is not listed as one of the Add-In items under Add-Ins menu, bring up Add-In Manager from Add-Ins menu. 3. From the Available Add-Ins list, find Visual Modeler Add-In and Visual Modeler Menus Add-In. Place a check next to Loaded/Unloaded as the Load Behavior for both. 4. Choose Reverse Engineering Wizard from the Visual Modeler submenu, found on the Add-Ins menu. 3. A dialog box, titled Reverse Engineering Wizard, is displayed. Click New to have Visual Modeler start with an empty model loaded. The following error message occurs: No Visual Basic project was selected for reverse engineering. To work around the problem, do the following before launching Visual Modeler Reverse Engineering: 1. From the Available Add-Ins list, find Visual Modeler Add-In and Visual Modeler Menus Add-In. Place a check next to Load on Startup for the Load Behavior. 2. Exit and launch Visual Basic again. Additional query words: ====================================================================== Keywords : kbVBp600bug kbWizard kbAddIn kbVMod200 Version : WINDOWS:6.0; WINNT:6.0 Platform : WINDOWS winnt 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. Copyright Microsoft Corporation 1998.