locked
Creating Shortcut for my Windows Mobile 5 Device Application RRS feed

  • Question

  • I need to create a shortcut for my Windows Mobile 5 application under the Today or Start fields.

    Wednesday, December 2, 2009 1:03 PM

Answers

  • Hi,

    You need to put the shortcut of the application under the special folder "Start Menu Folder" in CAB file's file system.

    Do this:

    1. Right click on CAB project->View->File System

    Add the special folder in File system if it is not present already by doing following:

    2. Right click->Add Special Folder->Start Menu Folder. This will create the Start Menu Folder.

    3. Double click on the Start Menu Folder to open.

    To create short  cut of the application under the folder, do the following:

    4. Right click->Create New Shortcut. Select the appropriate project from the list adn press OK.

    This will create the shortcut of the application you selected under Start Menu.

    Hope this helps.

    Regards,
    Himanshu

    ----------------------------------------------------------------------------------------------------------------

    Please Mark the answer as helpful if it was helpful to you. This helps our community.

    • Proposed as answer by Himanshu Chhaya Wednesday, December 2, 2009 1:29 PM
    • Marked as answer by SEVM Wednesday, December 2, 2009 1:38 PM
    Wednesday, December 2, 2009 1:29 PM

  • 1) Add a new project to your solution, and look under Other Project Types > Setup and Deployment > Smart Device CAB Project.
    2) Right click on the Application Folder, select Add > Project Output
    3) In the resulting dialog pick your main project and "Primary Output" and say ok
    4) Right click on the cab project in solution explorer and select build

    To get a shortcut:

    1. In the left pane of the install UI in VS right click and add a special folder to Start Menu (if it isn't already there).
    2. Right click on the folder and pick Add Shortcut
    3. Point the shortcut to the project output from your main project (this way if you ever change your .exe name it will automatically update the cab)
    4. You can also right click on the shortcut and rename it to something useful for your user
    • Marked as answer by SEVM Wednesday, December 2, 2009 1:34 PM
    Wednesday, December 2, 2009 1:34 PM

All replies

  • Hi,

    You need to put the shortcut of the application under the special folder "Start Menu Folder" in CAB file's file system.

    Do this:

    1. Right click on CAB project->View->File System

    Add the special folder in File system if it is not present already by doing following:

    2. Right click->Add Special Folder->Start Menu Folder. This will create the Start Menu Folder.

    3. Double click on the Start Menu Folder to open.

    To create short  cut of the application under the folder, do the following:

    4. Right click->Create New Shortcut. Select the appropriate project from the list adn press OK.

    This will create the shortcut of the application you selected under Start Menu.

    Hope this helps.

    Regards,
    Himanshu

    ----------------------------------------------------------------------------------------------------------------

    Please Mark the answer as helpful if it was helpful to you. This helps our community.

    • Proposed as answer by Himanshu Chhaya Wednesday, December 2, 2009 1:29 PM
    • Marked as answer by SEVM Wednesday, December 2, 2009 1:38 PM
    Wednesday, December 2, 2009 1:29 PM

  • 1) Add a new project to your solution, and look under Other Project Types > Setup and Deployment > Smart Device CAB Project.
    2) Right click on the Application Folder, select Add > Project Output
    3) In the resulting dialog pick your main project and "Primary Output" and say ok
    4) Right click on the cab project in solution explorer and select build

    To get a shortcut:

    1. In the left pane of the install UI in VS right click and add a special folder to Start Menu (if it isn't already there).
    2. Right click on the folder and pick Add Shortcut
    3. Point the shortcut to the project output from your main project (this way if you ever change your .exe name it will automatically update the cab)
    4. You can also right click on the shortcut and rename it to something useful for your user
    • Marked as answer by SEVM Wednesday, December 2, 2009 1:34 PM
    Wednesday, December 2, 2009 1:34 PM