HOWTO: Create Shortcuts on the Programs Menu Using PDW

ID: Q190174


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

Keywords : kbGrpVB
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: January 5, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.