PDA

View Full Version : help:windows explorer complete refresh


k1ngk1ng
02-10-2009, 04:48 PM
hi everybody
i need your help:huh
i want to make a program with ams7.5 that can change default folder icon(in xp)
first i try to change the folder icon path in registry:
Registry.SetValue(HKEY_LOCAL_MACHINE, "software\\microsoft\\windows\\currentversion\\expl orer\\shell icons", "3", "c:\\newicon.ico,0", REG_SZ);

this works very good!when i restart my windows!!!:eek:
its a bad way...
i want to refresh my windows explorer immediately to view changes without restart such as this program: folder marker,folder icon,...
can u help me?;)

(eXcuse me for my bad english...:o)

rexzooly
02-11-2009, 09:32 AM
hi everybody
i need your help:huh
i want to make a program with ams7.5 that can change default folder icon(in xp)
first i try to change the folder icon path in registry:
Registry.SetValue(HKEY_LOCAL_MACHINE, "software\\microsoft\\windows\\currentversion\\expl orer\\shell icons", "3", "c:\\newicon.ico,0", REG_SZ);

this works very good!when i restart my windows!!!:eek:
its a bad way...
i want to refresh my windows explorer immediately to view changes without restart such as this program: folder marker,folder icon,...
can u help me?;)

(eXcuse me for my bad english...:o)

Folder icons are also contraled by the desktop.ini

[.ShellClassInfo]
IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=34

Something like so, so make a new or update the ini file thats in the folder already to see the file remeber to turn of see hidden folders under folder options :yes