Link to home
Start Free TrialLog in
Avatar of nod31
nod31

asked on

icon names

is it possible to change the likes of "My Computer" icon text to whatever i want in code?

if this is possible could someone PLEASE give me the code that can do this using an EDITBOX to enter in the NEW name!


thank you

nod31
Avatar of Madshi
Madshi

The name is in the registry somewhere, just open up regedit.exe and search for "My Computer", then you should find the key where it is stored. You can simply change it, however the explorer needs to be restarted, only then the effect will be visible. You can use Delphi's TRegistry object to change the value. Sorry, no time for writing code...

Regards, Madshi.
ASKER CERTIFIED SOLUTION
Avatar of Fraction
Fraction

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
On Win2000 the key is
HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}
LocalizedString = @C:\WINNT\system32\shell32.dll,-9216@1033,My Computer


The Crazy One
listening
i tried the code above but it dosen't seem to change the text on the desktops my computer icon, but it only changes it in the likes of windows explorer! why is this?
Search in the registry. If you still see "My Computer" on your desktop (even after a reboot), there must be "My Computer" in your registry somewhere.