PDA

View Full Version : Set Desktop Icon



NewsArchive
08-21-2009, 03:26 AM
SB6 - Whenever I update the app after installing a new template upgrade etc.
it seems the position of the icon selection changes. So when I recompile
the program, icon that used to be icon 7 is now icon 4.

Is there anyway to permanently set a particular icon so that it will always
install a certain icon even though new icons have been added to the program,
maybe not use the exe icons for this.

Thanks

Don Harvey

NewsArchive
08-21-2009, 03:26 AM
Don,

> SB6 - Whenever I update the app after installing a new template upgrade
> etc. it seems the position of the icon selection changes. So when I
> recompile the program, icon that used to be icon 7 is now icon 4.
>
> Is there anyway to permanently set a particular icon so that it will
> always install a certain icon even though new icons have been added to the
> program, maybe not use the exe icons for this.

In Windows, if you have more than one icon resource in an executable file,
then you have to specify the icon index for the specified icon to display it
in a Shortcut. For example, 0 is for the first icon in the file, 1 for the
second, 2 for the third, and so on.

If you change the order of the icons in your executable file (e.g. because
you add new icons or a template causes a reorder), then you have to modify
the icon index in your Shortcut to reflect this change.

You can install an external .ico (so it's not embedded in your .exe) and
then link to this (via the "Icon File" entry in the Shortcut Properties).

Does this help?

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
08-21-2009, 03:27 AM
Thanks Friedrich,

Using an external icon should solve it.

Don Harvey