PDA

View Full Version : Updating icons on repair



moonsea
10-10-2003, 01:30 AM
I have replaced the icons in my executables. When using repair mode everything updates in the system, except the icons on the shortcuts in the program folder. How do I get these to use the new icons?
The shortcuts in the resource pane has the setting "Replace if existing"

Stephan
10-10-2003, 02:44 AM
Hi Mats,

try to delete the folder icon with DeleteFolderIcon() before your call of AddFolderIcon(). Haven't tested this yet, but I think this should force Windows to update the ShellIconCache for this icon ...

HTH,
Stephan

moonsea
10-10-2003, 03:02 AM
I'll try that.

But I don't use AddFolderIcon.
I have added the shortcuts in the resource pane.