DOCUMENT:Q190174 07-AUG-1998 [vbwin] TITLE :HOWTO: Create Shortcuts on the Programs Menu Using PDW PRODUCT :Microsoft Visual Basic for Windows PROD/VER:WINDOWS:6.0 OPER/SYS:WINDOWS KEYWORDS: ====================================================================== --------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual Basic Professional and Enterprise Editions for Windows, version 6.0 --------------------------------------------------------------------- SUMMARY ======= When you run a setup program that was created using the Application Setup Wizard in earlier versions of Visual Basic, the application's shortcut is created directly on the Windows 95/98 or NT 4.0 Programs menu by default. Program groups are only created if there are multiple shortcuts, the installation is on an earlier version of Windows or NT, or the Setup Toolkit project is modified. When you run a setup program that was created using the Package and Deployment Wizard (PDW) in Visual Basic 6.0, the application's shortcut is always placed in a program group by default. However, you can create a shortcut directly on the Programs menu by modifying the steps used in the PDW. This article describes how to accomplish this. MORE INFORMATION ================ To create a shortcut for the application directly on the Programs menu, follow these steps in the Start Menu Items screen of the PDW: 1. Under Start Menu Items, select the program group for your application. For example, if the name of your project is Hello, you will see a program group named Hello with a shortcut named Hello below it. Select the program group named Hello. 2. Click Remove, and then click New Item. 3. In the Target list, click the program file you want the shortcut to start. 4. In the Start In list, click $(AppPath). 5. In the Name box, type the name you want to give the shortcut, and click OK. 6. Click Next, and then complete the remaining screens in the PDW as appropriate. Additional query words: kbDSupport kbVBp600 kbAppSetup kbVBp kbdss ====================================================================== Version : WINDOWS:6.0 Platform : WINDOWS Issue type : kbhowto ============================================================================= 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.