system icons for DLL and OCX

  • Thread starter Thread starter tlviewer
  • Start date Start date
T

tlviewer

hello,

I switch back and forth between Win2k and
WinXP pro.

In explorer, for DLL and OCX files, Win2k will
show the embedded icons. In contrast, WinXP over-rides
that behavior with some default icon. How that
icon is chosen, I don't know. Now every DLL has the
same icon, instead of the unique icon resource chosen
by the DLL author.

How can I tell WinXP to use the unique, embedded icon for
these 2 file types.

tia,
msp
 
Change the "DefaultIcon" value in the registry to %1. The standard value being %SystemRoot%\System32\shell32.dll,-154

In the following registry paths:
HKEY_CLASSES_ROOT\dllfile\DefaultIcon
HKEY_CLASSES_ROOT\OCXfile\DefaultIcon

--
Ramesh - Microsoft MVP
Windows XP Shell
http://www.mvps.org/sramesh2k

What You Should Know About the Sasser Worm and It Variants:
http://www.microsoft.com/security/incident/sasser.asp


hello,

I switch back and forth between Win2k and
WinXP pro.

In explorer, for DLL and OCX files, Win2k will
show the embedded icons. In contrast, WinXP over-rides
that behavior with some default icon. How that
icon is chosen, I don't know. Now every DLL has the
same icon, instead of the unique icon resource chosen
by the DLL author.

How can I tell WinXP to use the unique, embedded icon for
these 2 file types.

tia,
msp
 
------- begin DLL.reg ----------
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\ocxfile\DefaultIcon]
@="%1"

[HKEY_CLASSES_ROOT\dllfile\DefaultIcon]
@="%1"

-------- end file --------------------


hello,

I switch back and forth between Win2k and
WinXP pro.

In explorer, for DLL and OCX files, Win2k will
show the embedded icons. In contrast, WinXP over-rides
that behavior with some default icon. How that
icon is chosen, I don't know. Now every DLL has the
same icon, instead of the unique icon resource chosen
by the DLL author.

How can I tell WinXP to use the unique, embedded icon for
these 2 file types.

tia,
msp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top