PDA

View Full Version : Problem with making icon change instant (WXP-Pro)



PedjaNBG
03-03-2006, 12:30 PM
posted on 3/3/2006 9:26:00 AM [ edit ]

Hi.
I have a problem. When I change the default icon for some file extension, I need it to happen instantly. For example, I want to change icon for .cdc files. I know how to do it, and that is not a problem, but the problem is that it doesn't happen instantly, but when some kind of system refresh happens. I think it has something to do with shelliconcache.dll or iconcache.db, witch i can't find on my system.
For example, when you start BS Player and assign it to be the default player for some file types, it happens, and icon changes right away.
I need to know what I can do to make this change happening when I want it. What is the thing that BS player and Windows Media Player do when they make a registry change, to make it happen at that exact moment?
The thing is that i am creating an application that should be able to do this, and i have no idea what should be done, and how BS Player does it.
Any help would be most appreciated.
Thanks.

tom_keefer
03-04-2006, 08:39 AM
See if this helps: <a target="_blank" href=http://www.winguides.com/registry/display.php?id=57>Change the Icon Cache Size</a>

<font color=purple>Tom</font color=purple>


XP Pro SP2 - Intel D925XCV - P4 2.8 GHz, 800MHz FSB, 1MB L2 Cache, HTT, socket 775 - WD 36GB SATA - WD 250GB USB2 HD - 2GB Crucial DDR2 PC2-4200 - Plextor 716A - Chaintech NVIDIA GeForce 6600GT -Samsung 19" LCD -