Shell32.dll -- icons above 238?

S

StargateFan

I found a reference to a shell32.dll for XP that I don't seem to have
or that I don't know how to display the upper numbers for.

The msg is here:
http://www.virtualplastic.net/msgboard/thread.php?forum=1&thread=118

My shell32.dll shows up to #238 only and it's from the system32
folder. Though other shell32's are listed in a search, that's the
only one I can seem to access.

I'd like to extract a few of the icons in the 300 numbers but can't
see them. Is there another shell32 somewhere, or why are these being
listed. The screenshot shows only the numbers I have, too, which
makes things doubly confusing. The given link on that page for the
screenshot is here:
http://www.virtualplastic.net//images/kmr/shell32.dll_icons.gif

Thanks. :blush:D
 
A

Alan Edwards

The numbers are all wrong. Count them and you will find there are not
300 icons. The biggest of the gaps on the first page you mention is
between his 54 and 133 (there are other gaps).
As he has not started from zero, none has the right number anyway.

....Alan
 
W

Wesley Vogel

There are 238 icons in SHELL32.dll, although 49 through 52 are the same
icon. The icons in SHELL32.dll are numbered from 0 through 237. The icon
in the upper left hand corner is 0, the next one down is 1, the icon at the
bottom of column 1 is 3 and the icon at the top of the second column is 4.

There looks like there is a gap between 48 and 53, but there is not. Icons
49 through 52 are no icon, as it were, but they can be selected. On a
folder all you see is the text, no icon.

To find out what the *real* IconIndex numbers are, customize a folder then
open the Desktop.ini and look at the IconIndex=.

IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=0

IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=237

Those are the real IconIndex numbers, otherwise the desktop.ini would have
no idea what icon to assign to a customized folder.

If you manually change the IconIndex # to 1 in a desktop.ini you are NOT
going to get the icon listed as #1 here...
http://www.virtualplastic.net//images/kmr/shell32.dll_icons.gif

Hint, if you manually change the IconIndex # in a desktop.ini you will
probably have to hit F5 to refresh to the see the icon change.

If you manually change the IconIndex # to 238, icon 0 will be displayed. If
you use 16721, 0 icon will be displayed. If you use 300, icon 0 will be
displayed. I did not try any other numbers, but I think that I could safely
say the any number higher than 237 will display the 0 icon. I am not a
scientist so that may not be scientific, but good enough for me.

I just pasted 1 // default file icon thru 16721 // old delete from
http://www.virtualplastic.net/msgboard/thread.php?forum=1&thread=118
into Notepad and did a Goto Line 1000. Got a Line number out of range and
it sent me to line 238. That's a little trick that I use to count lines in
lists without using my fingers and toes. Does the number 238 look familiar?

The icons in SHELL32.dll are numbered from 0 through 237. Any other number
is meaningless. Where did they come up with numbers like 16721 anyway?

If you have a SHELL32.dll in %windir%\system32\dllcache or
%windir%\ServicePackFiles\i386, it's the same SHELL32.dll that's in
%windir%\system32. Those are used for Windows File Protection.

If you have another SHELL32.dll in C:\WINDOWS\$hf_mig$\KB900725\SP2QFE, for
example, all you have to do to see the icons is paste the path

C:\WINDOWS\$hf_mig$\KB900725\SP2QFE\SHELL32.dll

into the Look for box in the Change Icon for XXX Folder dialog and hit your
Enter key.

You will find that they all probably contain the same icons. I only looked
at the one mentioned above.

IconFile=%SystemRoot%\$hf_mig$\KB900725\SP2QFE\SHELL32.dll
IconIndex=0

IconFile=%SystemRoot%\$hf_mig$\KB900725\SP2QFE\SHELL32.dll
IconIndex=237

A little desktop.ini info.

"IconIndex Set this entry to specify the index for a custom icon. If the
file assigned to IconFile only contains a single icon, set IconIndex to 0."
Customizing Folders with Desktop.ini
http://msdn.microsoft.com/library/d...hell_basics/shell_basics_extending/custom.asp

See
The Desktop.ini File
here
A Brand New Web Look for Your Folders (Web Authoring Tools Technical
Articles)
http://msdn.microsoft.com/archive/en-us/dnarwebtool/html/webview.asp?frame=true

Some info on Desktop.ini files pieced together from many sources...

[DeleteOnCopy] means that if you copy a desktop.ini and paste it into
another folder, the copy of the desktop.ini will be blank. Or if you copy
the folder elsewhere – for instance, to back up the contents – these entries
will not be copied.

Owner= The "Owner=" setting is set to the new user's logon name.

Personalized= I have no idea what this means.

PersonalizedName= Name that Windows Explorer displays for the folder. I.e.
Shared Music instead of My Music, My Documents instead of Documents.

ConfirmFileOp=0 avoids the You Are Deleting a System Folder warning when
deleting or moving the folder. To preserve the warning, use ConfirmFileOp=1.

NoSharing=1 prevents the folder from being shared.

IconFile=Relative path to the icon file. If you want to specify a custom
icon for the folder, set this entry to the icon's file name. The .ico file
extension is preferred, but it is also possible to specify .bmp files, or
..exe and .dll files that contain icons. If you use a relative path, the
icon will be available to people who view the folder over the network. You
must also set the IconIndex entry.

IconIndex=n Set this entry to specify the index for a custom icon. If the
file assigned to IconFile only contains a single icon, set IconIndex to 0.

InfoTip= Set this entry to an informational text string. It will be
displayed as an infotip when the cursor hovers over the folder. If the user
clicks the folder in a Web view, the information text will be displayed in
the folder's information block, below the standard information.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
S

StargateFan

There are 238 icons in SHELL32.dll, although 49 through 52 are the same
icon. The icons in SHELL32.dll are numbered from 0 through 237. The icon
in the upper left hand corner is 0, the next one down is 1, the icon at the
bottom of column 1 is 3 and the icon at the top of the second column is 4.

There looks like there is a gap between 48 and 53, but there is not. Icons
49 through 52 are no icon, as it were, but they can be selected. On a
folder all you see is the text, no icon.

To find out what the *real* IconIndex numbers are, customize a folder then
open the Desktop.ini and look at the IconIndex=.

IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=0

IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=237

Those are the real IconIndex numbers, otherwise the desktop.ini would have
no idea what icon to assign to a customized folder.

If you manually change the IconIndex # to 1 in a desktop.ini you are NOT
going to get the icon listed as #1 here...
http://www.virtualplastic.net//images/kmr/shell32.dll_icons.gif

Hint, if you manually change the IconIndex # in a desktop.ini you will
probably have to hit F5 to refresh to the see the icon change.

If you manually change the IconIndex # to 238, icon 0 will be displayed. If
you use 16721, 0 icon will be displayed. If you use 300, icon 0 will be
displayed. I did not try any other numbers, but I think that I could safely
say the any number higher than 237 will display the 0 icon. I am not a
scientist so that may not be scientific, but good enough for me.

I just pasted 1 // default file icon thru 16721 // old delete from
http://www.virtualplastic.net/msgboard/thread.php?forum=1&thread=118
into Notepad and did a Goto Line 1000. Got a Line number out of range and
it sent me to line 238. That's a little trick that I use to count lines in
lists without using my fingers and toes. Does the number 238 look familiar?

The icons in SHELL32.dll are numbered from 0 through 237. Any other number
is meaningless. Where did they come up with numbers like 16721 anyway?

If you have a SHELL32.dll in %windir%\system32\dllcache or
%windir%\ServicePackFiles\i386, it's the same SHELL32.dll that's in
%windir%\system32. Those are used for Windows File Protection.

If you have another SHELL32.dll in C:\WINDOWS\$hf_mig$\KB900725\SP2QFE, for
example, all you have to do to see the icons is paste the path

C:\WINDOWS\$hf_mig$\KB900725\SP2QFE\SHELL32.dll

into the Look for box in the Change Icon for XXX Folder dialog and hit your
Enter key.

You will find that they all probably contain the same icons. I only looked
at the one mentioned above.

IconFile=%SystemRoot%\$hf_mig$\KB900725\SP2QFE\SHELL32.dll
IconIndex=0

IconFile=%SystemRoot%\$hf_mig$\KB900725\SP2QFE\SHELL32.dll
IconIndex=237

A little desktop.ini info.

"IconIndex Set this entry to specify the index for a custom icon. If the
file assigned to IconFile only contains a single icon, set IconIndex to 0."
Customizing Folders with Desktop.ini
http://msdn.microsoft.com/library/d...hell_basics/shell_basics_extending/custom.asp

See
The Desktop.ini File
here
A Brand New Web Look for Your Folders (Web Authoring Tools Technical
Articles)
http://msdn.microsoft.com/archive/en-us/dnarwebtool/html/webview.asp?frame=true

Some info on Desktop.ini files pieced together from many sources...

[DeleteOnCopy] means that if you copy a desktop.ini and paste it into
another folder, the copy of the desktop.ini will be blank. Or if you copy
the folder elsewhere – for instance, to back up the contents – these entries
will not be copied.

Owner= The "Owner=" setting is set to the new user's logon name.

Personalized= I have no idea what this means.

PersonalizedName= Name that Windows Explorer displays for the folder. I.e.
Shared Music instead of My Music, My Documents instead of Documents.

ConfirmFileOp=0 avoids the You Are Deleting a System Folder warning when
deleting or moving the folder. To preserve the warning, use ConfirmFileOp=1.

NoSharing=1 prevents the folder from being shared.

IconFile=Relative path to the icon file. If you want to specify a custom
icon for the folder, set this entry to the icon's file name. The .ico file
extension is preferred, but it is also possible to specify .bmp files, or
.exe and .dll files that contain icons. If you use a relative path, the
icon will be available to people who view the folder over the network. You
must also set the IconIndex entry.

IconIndex=n Set this entry to specify the index for a custom icon. If the
file assigned to IconFile only contains a single icon, set IconIndex to 0.

InfoTip= Set this entry to an informational text string. It will be
displayed as an infotip when the cursor hovers over the folder. If the user
clicks the folder in a Web view, the information text will be displayed in
the folder's information block, below the standard information.

Thank you very much! Yes indeed it did help. I do appreciate the
education. I didn't know all of this. I'm glad to know that there
wasn't something wrong with my shell32! <g>

Hmmm, wonder how this person made this mistake? There must be a
reasonable explanation. Ah well. This all happened because I was
looking for a particular icon type and the list made this msg come up
in a google search saying that there was on in shell32 but I couldn't
find it in mine. Weird. <g>

Thanks. :blush:D
 
W

Wesley Vogel

What icon were you originally looking for?

I am by no means an expert, but I do customize folders. I must want my
folders to look like the cash register keys at a McDonalds; Big Mac, Egg
McMuffin, etc. :) You want fries with that?

I forgot to add that iconindex 35, the hammer and chisel on a manila folder,
is still messed up in shell32.dll. If you select 35, you really get 21,
even though 35 shows up on preview on Folder Properties. I downloaded
35.ico from somewhere, I have no idea where, and use it on several folders.

You can access any .dll, .cpl, .exe, whatever that might have any icons, not
all of them do.

%systemroot%\system32\shell32.dll
%SystemRoot%\system32\Desk.cpl
%SystemRoot%\system32\Inetcpl.cpl
%SystemRoot%\system32\Mmsys.cpl
%SystemRoot%\system32\Mshtml.dll
%SystemRoot%\system32\Main.cpl
%SystemRoot%\system32\PIFMGR.DLL
%SystemRoot%\system32\Progman.exe
%SystemRoot%\system32\Sysdm.cpl
%programfiles%\Internet Explorer\Iexplore.exe
%windir%\Explorer.exe
%SystemRoot%\system32\TweakUI.exe

If you paste a path into the Look for box in the Change Icon for XXX Folder
dialog and the file contains no icons, you get a...
---------------------------
Change Icon for XXX Folder
---------------------------
The file C:\Program Files\MRU-Blaster\mrublaster.exe contains no icons.
---------------------------
OK
---------------------------

Kelly has a table of Shell32 Icons 0 - 71 here
http://www.kellys-korner-xp.com/xp_s.htm

David Candy has an Icon Finder (from windows 98) here
http://www.mvps.org/serenitymacros/iconlist.html


--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
StargateFan said:
There are 238 icons in SHELL32.dll, although 49 through 52 are the same
icon. The icons in SHELL32.dll are numbered from 0 through 237. The
icon in the upper left hand corner is 0, the next one down is 1, the
icon at the bottom of column 1 is 3 and the icon at the top of the
second column is 4.

There looks like there is a gap between 48 and 53, but there is not.
Icons 49 through 52 are no icon, as it were, but they can be selected.
On a folder all you see is the text, no icon.

To find out what the *real* IconIndex numbers are, customize a folder
then open the Desktop.ini and look at the IconIndex=.

IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=0

IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=237

Those are the real IconIndex numbers, otherwise the desktop.ini would
have no idea what icon to assign to a customized folder.

If you manually change the IconIndex # to 1 in a desktop.ini you are NOT
going to get the icon listed as #1 here...
http://www.virtualplastic.net//images/kmr/shell32.dll_icons.gif

Hint, if you manually change the IconIndex # in a desktop.ini you will
probably have to hit F5 to refresh to the see the icon change.

If you manually change the IconIndex # to 238, icon 0 will be displayed.
If you use 16721, 0 icon will be displayed. If you use 300, icon 0 will
be displayed. I did not try any other numbers, but I think that I could
safely say the any number higher than 237 will display the 0 icon. I am
not a scientist so that may not be scientific, but good enough for me.

I just pasted 1 // default file icon thru 16721 // old delete from
http://www.virtualplastic.net/msgboard/thread.php?forum=1&thread=118
into Notepad and did a Goto Line 1000. Got a Line number out of range
and it sent me to line 238. That's a little trick that I use to count
lines in lists without using my fingers and toes. Does the number 238
look familiar?

The icons in SHELL32.dll are numbered from 0 through 237. Any other
number is meaningless. Where did they come up with numbers like 16721
anyway?

If you have a SHELL32.dll in %windir%\system32\dllcache or
%windir%\ServicePackFiles\i386, it's the same SHELL32.dll that's in
%windir%\system32. Those are used for Windows File Protection.

If you have another SHELL32.dll in C:\WINDOWS\$hf_mig$\KB900725\SP2QFE,
for example, all you have to do to see the icons is paste the path

C:\WINDOWS\$hf_mig$\KB900725\SP2QFE\SHELL32.dll

into the Look for box in the Change Icon for XXX Folder dialog and hit
your Enter key.

You will find that they all probably contain the same icons. I only
looked at the one mentioned above.

IconFile=%SystemRoot%\$hf_mig$\KB900725\SP2QFE\SHELL32.dll
IconIndex=0

IconFile=%SystemRoot%\$hf_mig$\KB900725\SP2QFE\SHELL32.dll
IconIndex=237

A little desktop.ini info.

"IconIndex Set this entry to specify the index for a custom icon. If the
file assigned to IconFile only contains a single icon, set IconIndex to
0." Customizing Folders with Desktop.ini
http://msdn.microsoft.com/library/d...hell_basics/shell_basics_extending/custom.asp

See
The Desktop.ini File
here
A Brand New Web Look for Your Folders (Web Authoring Tools Technical
Articles)
http://msdn.microsoft.com/archive/en-us/dnarwebtool/html/webview.asp?frame=true

Some info on Desktop.ini files pieced together from many sources...

[DeleteOnCopy] means that if you copy a desktop.ini and paste it into
another folder, the copy of the desktop.ini will be blank. Or if you
copy the folder elsewhere – for instance, to back up the contents –
these entries will not be copied.

Owner= The "Owner=" setting is set to the new user's logon name.

Personalized= I have no idea what this means.

PersonalizedName= Name that Windows Explorer displays for the folder.
I.e. Shared Music instead of My Music, My Documents instead of Documents.

ConfirmFileOp=0 avoids the You Are Deleting a System Folder warning when
deleting or moving the folder. To preserve the warning, use
ConfirmFileOp=1.

NoSharing=1 prevents the folder from being shared.

IconFile=Relative path to the icon file. If you want to specify a custom
icon for the folder, set this entry to the icon's file name. The .ico
file extension is preferred, but it is also possible to specify .bmp
files, or .exe and .dll files that contain icons. If you use a relative
path, the icon will be available to people who view the folder over the
network. You must also set the IconIndex entry.

IconIndex=n Set this entry to specify the index for a custom icon. If
the file assigned to IconFile only contains a single icon, set IconIndex
to 0.

InfoTip= Set this entry to an informational text string. It will be
displayed as an infotip when the cursor hovers over the folder. If the
user clicks the folder in a Web view, the information text will be
displayed in the folder's information block, below the standard
information.

Thank you very much! Yes indeed it did help. I do appreciate the
education. I didn't know all of this. I'm glad to know that there
wasn't something wrong with my shell32! <g>

Hmmm, wonder how this person made this mistake? There must be a
reasonable explanation. Ah well. This all happened because I was
looking for a particular icon type and the list made this msg come up
in a google search saying that there was on in shell32 but I couldn't
find it in mine. Weird. <g>

Thanks. :blush:D
Wes
MS-MVP Windows Shell/User

In
 

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

Top