1st of all, I'm not sure if this is the correct forum for this question (if not I apologize), but since it may involve some development, I'm guessing this is the right place.
I want to be able to change the icon assigned to a shortcut. For instance, today.lnk and remove.lnk, which aren't associated to any application, have the generic non-associated icon.
I know both shortcuts run a parameter that evokes ctlpnl.exe linking to the *.cpl, but aparently the *.cpl file has no icons on it.
An option could be creating some sort of batch file or wrapper, with a given command line (which would be the call to the panel) and then a way of linking to a dll in which the icons would be.
I have no idea on how to do this...can anyone help me?
p.s. if it involves some programming, plz let me know with which tool I can make this and more or less how.
Thank you very much :)
There is no way to specify specific icons for shortcuts in Windows CE. Shortcuts in CE are extremely crude, and are just text files with the full path and filename of the file (or for shortcuts to applications, the filename plus parameters). It uses an entirely different system than the robust shortcut system used with real windows.
It would be possible to modify a program like DEXplor to offer additional shortcut options using some proprietary system. Of course the custom shortcuts would then only be visible from within DEXplor. However, to my knowledge it would not be possible to modify the Shell to do it automatically. The reason is that the Shell does not provide any methods for extracting icons from shortcuts; programmers have to code that manually. Thus every application that shows icons to shortcuts (the start menu, built-in explorer, etc) has its own custom code to do that work, and it is obviously impossible to modify every such app to work the way you desire.
Dan East
You know, your thinking has lead me to a possible solution (of sorts). It would definitely require programming, and would incur some additional restrictions. The idea would be to create an extremely small and simple program that just launches the target program / document. It would be like a self-contained shortcut. Since it is a program it can contain any desired icon. The problem would be that you could only "edit" that "shortcut" with the custom tool that created it.
Dan East
Dan East wrote:
You know, your thinking has lead me to a possible solution (of sorts). It would definitely require programming, and would incur some additional restrictions. The idea would be to create an extremely small and simple program that just launches the target program / document. It would be like a self-contained shortcut. Since it is a program it can contain any desired icon. The problem would be that you could only "edit" that "shortcut" with the custom tool that created it.
Thx a lot for your replies Dan :)
Yes, I thought about the possibility of creating something with the similar concept of a batch file or a PIF file...you have a suggestion as to what is the easiest tool to do it with? VisualCE?
You can play around with the registry and actually change the icon which appears for your app to any other application icon on the device. There are a few articles about changing associations on the web which show the registry keys involved. NB: Change the registry at your own risk & don't blame me.
One of the PocketC programmers ( Tony who spent a couple of year's going round the world with only his H/PC to code on ) wrote Launch Pad which creates a little app launcher with custom icon for various processors so you can make a tiny app with icon which runs anything you like. Only Launch Pad is pocketC. The launcher is a native arm, sh3 etc application. His site is
www.onhiatus.com
ps: His round-the-world journals make fun reading even though he's back home now.
You can also use DEXplor for full File Association management instead of directly modifiying the registry, and it is the only app I know of with an Icon Chooser. However, that won't affect shortcut icons, which are different for every .lnk file depending on what the target file is.
Dan East
hmmm...thx a lot guys...I'll look into it a bit more and play around with visualCE for example...perhaps I can come up with a small proggy.
I'll take a look at LaunchPad and DexPlorer options though.
Thx both :)