Click to See Complete Forum and Search --> : Registry
Everytime
Nov 16th, 2001, 08:04 PM
Not really a vb question but I hope someone can help
I recently used an icon changing program to change system icons. But it lost the icon for local drives. So my c drive is just showing a default icon. I have tried deleting the shelliconcache file and using several commercial tools to set up an icon. Nothing seems to work. I guess I need to tinker in the registry but don't know where to start.
Any help is appreciated
mlewis
Nov 16th, 2001, 08:56 PM
If you know the filename of the old icon, search the registry for that filename.
Everytime
Nov 17th, 2001, 08:57 AM
thanks for the suggestion
I looked in the registry, found the value and changed it, but nothing happened. I have solved the problem though by putting a desktop.Ini file in my root directory
[.ShellClassInfo]
IconFile=c:\program files\plus!\themes\hd.ico
IconIndex=0
[ActivIcons]
UndoIconfile=
UndoIconIndex=0
now it works. Thanks again
Everytime
Nov 17th, 2001, 12:05 PM
A final update for those interested...
Change Drive Name and Icon (All Versions)
This tweak allows you to change the name and icon shown in Explorer for a specific drive letter.
Open your registry and find the key below. If the key does not already exist then create it.
Within the main key above create a new sub-key with a single letter representing the drive letter of the drive to be modified. (e.g. [HKEY...\DriveIcons\D])
Within the drive letter key create another sub-key called "DefaultIcon" (e.g. [HKEY...\DriveIcons\D\DefaultIcon]) and set the "(Default)" value to equal the fully qualified name of the icon file. If the file contains more that one icon follow it with a comma and the zero-based index of the icon (e.g. "c:\icons\myicons.dll,4").
Create another sub-key within the drive letter key called "DefaultLabel" (e.g. [HKEY...\DriveIcons\D\DefaultLabel]) and set it's "(Default)" value to equal the label for the drive letter (e.g. "My ZIP Drive").
You may need to restart Windows for the change to take effect, or press F5 to refresh My Computer.
Note: The "DefaultLabel" value only works with Windows 2000 and higher.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.