Hello Alec,

That tip you quoted looks very very bad.
Do NOT put the DefaultIcon key under the .ico key.

The .ico key has a default value in it pointing to: icofile
In regedit, scroll down to the icofile key.
That is where the DefaultIcon key should be.
The DefaultIcon key should have a "Default" value of: %1
The type of value is a string, i.e.: REG_SZ

Also: when your icon editor program associated itself as the
program to be opened when you double click an icon file,
it could have done that in one of these two ways:

[A] leave .ico pointing at the usual key which is: icofile
take over the icofile's  shell\open\command  key
with a new Default string such as: C:\path\CoolIconEditor.exe %1

[B] make .ico point to a new key such as: CoolIconEditor
which has the  shell\open\command  key
with a default string such as: C:\path\CoolIconEditor.exe %1

So to fix what icon is displayed in Explorer for icons,
without stopping CoolIconEditor being the associated exe,
do this:

First: In regedit, hkey_classes_root, scroll down to .ico
While the key called  .ico  is selected in the left pane,
read the first (Default) value in the right pane.

Second, IF it is icofile, scroll down to the icofile key.
If it is something else, scroll down to that key
and do to it what I shall describe for the icofile key.

Next: While  icofile  is selected in the left pane,
click its plus sign, to show its subkeys in the left pane.
There should be one called: DefaultIcon
If not, then make one by right clicking  icofile
and choosing New... key

Now, while DefaultIcon is selected in the left pane,
its Default value in the right pane should be: %1

You can do something similar for dlls.
You do it to the key which the .dll key points to
which should be: dllfile

Usually, the DefaultIcon for dlls (in XP) is:
%SystemRoot%\System32\shell32.dll,-154
so you see the same icon for every .dll file.

If you change that long string to this short one: %1,0
then it will show the first icon from inside each .dll file.

That is not a good idea IMHO.
When you browse to the System32 folder it will take a long time
because it has to retrieve the icon from inside every dll file.
Apart from those time delays, it also floods the icon cache.

Anyway, the icons of dll files are not as interesting as the icons
of the exe files and ico files.

I recommend: fix it so .ico files show the actual icon,
as described above, but use the usual DefaultIcon setting for dllfile.

After all that messing around is finished, use Repair Icons
in TweakUI to fix your icon cache, which may have been bloated by
icons from all the dlls.



Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to