PDA

Click to See Complete Forum and Search --> : How to force Windows to reconstruct all its Icons databse ?


Avatar
Nov 2nd, 2000, 01:42 PM
This is my problem :
1 - I create shortcuts for VB applications, with one icon named for example <MyIcon.Ico>.
2 - I update this icon with a new one which have exactly the same name, but a this point Windows doesn't refresh the appearance of the shortcut (since the icon has the same name).

Question : How can I force Windows, throught VB code, to reconstruct its icons database (such a function exists already in many icons editors programs) ?

Thanks for help.


[Edited by Avatar on 11-02-2000 at 02:49 PM]

parksie
Nov 2nd, 2000, 02:12 PM
Try deleting the file ShellIconCache from the Windows folder.

Avatar
Nov 3rd, 2000, 04:14 AM
Thanks for your respons, but it doesn't seem to work.
Any other suggestion ?

[Edited by Avatar on 11-03-2000 at 05:17 AM]