Create a shortcut

Note

Now you create a shortcut for the executable file. The icon serves as a shortcut to open the executable file. You can add the shortcut directly to the desktop or to the program group of your choosing.

  1. Minimize PowerBuilder.

    PowerBuilder is minimized to an icon on the taskbar.

  2. Right-click on a blank area of the desktop.

    Select New>Shortcut from the pop-up menu.

    The Create Shortcut dialog box displays.

  3. Click the Browse button and locate pbtutor.exe.

    If you accepted the default installation folder, this is the location:

    C:\Program Files\Sybase\PowerBuilder 10.5\Tutorial
    \pbtutor.exe
    
  4. Click Next.

  5. Type SportsWear, Inc. as the name of the shortcut.

  6. Click Finish.

    An icon and name display on the desktop.

    Now you must modify a property of the shortcut so that you can run the application. You can also change the icon.

  7. Right-click the SportsWear, Inc. icon on the desktop.

    Select Properties in the pop-up menu.

    The properties sheet for the desktop shortcut displays.

  8. Select the Shortcut tab.

    Type the path to the PowerBuilder shared modules in the Start In box.

    Click OK.

    NoteAbout the location of the shared modules When you install PowerBuilder, the installation process puts the DLLs in a shared directory. The default location is: C:\Program Files\Sybase\Shared\PowerBuilder.

    If you want the user to be able to run the application by double-clicking the executable file, you must include the shared directory location in the system environment path.