PRB: AppWizard Projects Always Added to Component Gallery

Last reviewed: July 22, 1997
Article ID: Q138973
4.00 WINDOWS NT kbprg kbprb

The information in this article applies to:

  • The AppWizard included with Microsoft Visual C++, 32-bit edition, version 4.0

SYMPTOMS

Every project generated by AppWizard is automatically added to the Component Gallery.

STATUS

This behavior is by design.

MORE INFORMATION

Although this is by design, you may want to turn off the automatic insertion of AppWizard-generated projects into Component Gallery. To do this, you must change the setting of a registry key. The key is:

   HKEY_CURRENT_USER\Software\Microsoft\Developer\Gallery\ScanProjects

Setting this key to a value of 1 causes AppWizard-generated projects to be added to the Component Gallery. A value of 0 disables this feature.

The Gallery\ScanProjects key does not exist by default. You must create it. To add this key to the registry, do the following:

In Windows 95

  1. Run Regedit by clicking Start on the Run menu.

  2. Select the HKEY_CURRENT_USER\Software\Microsoft\Developer key.

  3. Add the Gallery Key by on the Edit menu, clicking New and then clicking Key.

  4. Select the Gallery Key, and add a DWORD value named ScanProjects by on the Edit menu, clicking New and then clicking DWORD.

  5. Set the value of ScanProjects to the needed value. The value can be changed by double-clicking the value name or by selecting the name and on the Edit menu, clicking Modify. Set the value to one of these:

    0 - disable adding projects to component gallery 1 - enable adding projects to component gallery

In Windows NT

  1. Run Regedt32 by on the File menu clicking Run in Program Manager.

  2. Select the HKEY_CURRENT_USER\Software\Microsoft\Developer key.

  3. Add the Gallery Key. This key is created by on the Edit menu, clicking Add Key. The Class edit box should be blank.

  4. Select the Gallery Key, and add a DWORD value named ScanProjects by on the Edit menu, clicking Add Value. The Data Type should be REG_DWORD.

  5. Set the value of ScanProjects to 0 or 1 depending on the needed behavior. The value can be changed by double-clicking the value name or by selecting the name, and on the Edit menu, clicking DWORD. Set the value to one of these:

    0 - disable adding projects to component gallery 1 - enable adding projects to component gallery


Additional reference words: 4.00
KBCategory: kbprg kbprb
KBSubcategory: WizardIss
Keywords : WizardIss kbprb kbprg
Version : 4.00
Platform : NT WINDOWS


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: July 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.