Results 1 to 4 of 4

Thread: Registry

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2001
    Location
    *.*
    Posts
    85

    Registry

    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
    Everytime

    "I'm not normally a religious man, but if you're up there, save me, Superman!" Homer Simpson

    Visit my site

  2. #2
    Frenzied Member mlewis's Avatar
    Join Date
    Sep 2000
    Posts
    1,226
    If you know the filename of the old icon, search the registry for that filename.
    M. Lewis
    Pi-Q Software
    How many mouse clicks does it take to cook breakfast?

    Blargh! I am dead!

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Mar 2001
    Location
    *.*
    Posts
    85
    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
    Code:
    [.ShellClassInfo]
    IconFile=c:\program files\plus!\themes\hd.ico
    IconIndex=0
    
    [ActivIcons]
    UndoIconfile=
    UndoIconIndex=0
    now it works. Thanks again
    Everytime

    "I'm not normally a religious man, but if you're up there, save me, Superman!" Homer Simpson

    Visit my site

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Mar 2001
    Location
    *.*
    Posts
    85
    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.
    Everytime

    "I'm not normally a religious man, but if you're up there, save me, Superman!" Homer Simpson

    Visit my site

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width