Shortcut to a file

  • Thread starter Thread starter Matthias Heise
  • Start date Start date
M

Matthias Heise

Hello,

I just want to create a shortcut to my program in the "Start" Menü (or
Desktop) of the PocketPC (with .NET). Can somebody give me an idea how to do
this?

Thanks

Matthias
 
Assuming you are using VS2003:

Create a CAB file for your Compact Framework project from Visual Studio .NET
2003
or by using cabwiz. In your project's OBJ folder, edit the .inf file that
results and change
the last line of the file, last 3 characters to %17%. Then rerun
BuildCab.bat located in the same
OBJ folder. The resulting CAB files are located in the CAB folder and you
can
copy the appropriate CAB file for your device architecture to your device
using
File Explorer. Click to install your app and you will get a shortcut to
your appin the
Programs filegroup on device. Don't forget to associate an icon with your
app in
Visual Studio.NET if you want the shortcut to have a custom icon.
--
Darren Shaffer
..NET Compact Framework MVP
Principal Architect
Connected Innovation
www.connectedinnovation.com
 
Hello,

it worked fine so far. I got the shortcut but there isn't my chosen icon. I
associated an icon with my app in VS2003. Any idea where the failure lies?

Thanks

Matthias
 
Hi again,

I got it. I added an icon file to my project so that i could edit it in
VS2003. But it seems that it was not a legal icon. When I use an existing
icon file all works fine.

Don't know why the first way doesn't work.

Matthias
 
it's picky about icons - you must have a single icon file that
contains both a 16x16 and a 32x32 icon contained within it.
I use www.iconxp.com to make my icons. Easy to use.
--
Darren Shaffer
..NET Compact Framework MVP
Principal Architect
Connected Innovation
www.connectedinnovation.com
 
Back
Top