Can not find "Build Cab File" - How to make my program icon appear on Start menu?

Hi,

I am compiling a program with Visual Studio 2005 Developer Edition and VB.net and Windows CE 2003 SE on a Pocket PC. Now, after I deploy my program to Pocket PC, I have to look for my program in "program files" directory. How can I do to make my program icon appear on Start menu

Thanks a lot.




Answer this question

Can not find "Build Cab File" - How to make my program icon appear on Start menu?

  • ColleenR

    The steps to create a Smart Device CAB project are described here:

    http://msdn.microsoft.com/vstudio/tour/vs2005_guided_tour/VS2005pro/Smart_Client/DeploymentNETCF.htm



  • DOrsborne

    Pocket PC (Symbol MC50 with MicrosoftR Windows Mobile 2003 Second Edition)

    Cab can not be run, and the error information is:

    "There is no application associated with [file_name], Run the application first, then open this file from within the application"

    Thanks a lot.



  • apclogan

    Hi,

    Thanks a lot for your hyperlink. However, after I followed all steps on this hyerlink, I still have some questions:

    1. It seems that the cab file can install the project on Emulator, but the cab file and the project can not be found in the real device. Although in the 20th step, it said that it can be available on the device, in fact, it can not.

    " 20 Double-click the CAB file to install the application.

    After the installation is complete, the Deployment Walkthrough application is available on the device."

    2. Even if it seems to succeed in Emulator and I did what 10th step said, I can not find the short cut for the program in the Start Menu in both Emulator and the real device.

    3. I tried creating a short cut for the application file in my program, and then copied this short cut into the Start Menu of Windows directory on the real device, however, it does not appear in the list of Start Menu. After the screen changes, this short cut will be automatically removed by system.

    I am confused about all 3 questions. So, any ideas

    Thanks a lot.



  • skyshock21

    Hi,

    Thank you so much for your reply.

    I copied the cab into my device using ActiveSync, but it can not run on my device, althogh it seems to run well in the emulator;

    Moreover, I followed your instruction 2, and Right-click on the "File system on the target machine" node and select Add Folder. Then copied the shortcut into Start Menu folder. However, after I run the cab in the Emulator, it did not appear in the list of SMART Menu still. I checked the Start Menu of Windows directory, and no this shortcut was there.

    So, any ideas

    Thanks again.



  • Jeff Solomon

    What is your device

  • Yvon Turcotte

    Hi Alex,

    Thanks a lot for your answers, and I can make my program icon appear on Start menu according to your instruction.

    Best regards.



  • Jackson Donadel

    You need to add a deployment project - a SmartCab project type. In it you will be able to create a shortcut and place it in Start Menu folder

  • Rafal Struzyk

    Hi,

    Thanks a lot for your answer. However, when I tried Building Cab File, I did not find the "Build Cab File" on the Build menu and I also did not find "Build Cab File" button on the Device toolbar in my Visual Studio 2005. My version is Professional Version, and in details, it is: Visual Studio 2005 8.0.50727.42. I opened my application project, when I tried Building Cab File. What I want to do is from the following hyperlink:

    http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_evtuv/html/etwlkGeneratingCustomCABFilesForDeviceProjects.asp

    So, any ideas

    Thanks a lot.



  • Nauman Raza

    1. Once you have built the cab you need to copy it to the device yourself e.g. using ActiveSync. It would not appear there "automagically"

    2. The sample places the shortcut into a wrong folder. Right-click on the "File system on the target machine" node and select Add Folder. Choose Start Menu folder, then create shortcut inside it.

    3. See 2 above



  • Can not find "Build Cab File" - How to make my program icon appear on Start menu?