PRB: No Icons Created on Application Setup

Last reviewed: November 25, 1996
Article ID: Q159409
The information in this article applies to:
  • Standard, Professional, and Enterprise Editions of Microsoft Visual Basic, 16-bit and 32-bit, for Windows, version 4.0

SYMPTOMS

After you create a distribution set with the Setup Wizard and run the setup program on the target machine, Visual Basic 4.0 does not generate any icons or groups for the application.

CAUSE

This is caused by an invalid character in the application title. For example, you use parentheses in the title.

WORKAROUND

Remove any non-alpha-numeric characters from the application title and save the project file. Then create the setup distribution set with the Setup Wizard again.

MORE INFORMATION

When you compile an application (the "make EXE" menu option), you can use the "Options" dialog box to type in an application title. Although Visual Basic 4.0 allows you to place certain non-alpha-numeric characters in the title, this causes the setup program to fail when it creates icons.

When you Save the project, the title is written to the .vbp file in the line starting with "TITLE=". The Setup Wizard uses this line to set the App Title that is then used as the default Group and Icon name. The setup program creates only one group and one icon for the main executable by default. In Windows 95, the group is not created according to Windows 95 standards.

REFERENCES

For more information, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q151818
   TITLE     : How To Build a Setup Program Creating Multiple Groups/Icon


KBCategory: kbtool kbsetup kbprb
KBSubcategory: TlsSetWiz
Additional reference words: 4.00 vb4win vb4all kbstream



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: November 25, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.