I've found both icons for the recycle bin in
C:\WINDOWS\SYSTEM\SHELL32.DLL
Any help will be greatly appreciated!
-Pete
MyComputer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
\Windows\CurrentVersion\explorer\Shell Icons
Once there, you will see a list of string values numbered from 0 to 40. The
number is the default index number of the icon in the file shell32.dll,
which should be located in your windows directory (i.e., c:\windows). The
data assigned to each value is the icon file, or icon library file and
index number. For example, the data assigned to the string value "3" will
be the icon that is normally a closed folder icon (i.e., the closed folder
icon is the 4th icon in shell32.dll). I realize that may sound somewhat
confusing, so here is a step by step example. Reference the end of this
topic for a complete list of the values and their respective icon
assignments.
Updating your icons to view your changes
After making your icon change, you probably won't see the changes. In fact,
restarting Windows also won't work in most cases. This is because of the
way that Windows caches icon images (stores their images for quick and
convenient retrieval). Located in your Windows directory is a file called
ShellIconCache (its short filename equivalent is shellico). This file has a
hidden attribute to it, so it isn't visible if you do a regular file list
in an MS-DOS window by typing dir. Follow these steps to update your icon
cache and your registry icon changes:
1. Shut down your computer to MS-DOS Mode (from the Start button, choose
Shut Down, then choose the "Restart your computer in MS-DOS Mode" option.
2. Once at a DOS prompt in your Windows directory, type attrib -h shellico.
This will remove the hidden attribute from the icon cache file so that you
can delete it.
3. Type del shellico to delete the file.
4. Restart Windows from the DOS prompt by typing win.
After completing the above steps, your icons should be updated.
NOTE: Deleting the icon cache file while still in Windows and then
restarting Windows will not update your icons.
List of values and their respective icons (the number represents the index
of the icon in shell32.dll):
0 Default icon for unassigned file types
1 Document
2 Window
3 Closed yellow folder
4 Opened yellow folder
5 5 1/4" disk
6 3 1/2" disk
7 Removable drive
8 Hard drive
9 Network drive
10 Network drive (disconnected)
11 CD-ROM drive
12 RAM chip
13 Globe
14 Network cable connection
15 Network computer
16 Printer
17 Networked computers (1 of 2)
18 Networked computers (2 of 2)
19 Small folder & window
20 Small open yellow folder with paper inside
21 Yellow gear
22 Find file(s)
23 Help
24 Window and hourglass cursor (1 of 2)
25 Computer monitor (1 of 2)
26 External hardware/removable disk drive
27 Computer monitor (2 of 2)
28 Shared drive/folder (white hand with blue shirt)
29 Black & White shortcut arrow
30 Larger gray arrow
*** 31 Empty Recycle Bin ***
*** 32 Full Recycle Bin ***
33 Dial-Up Networking folder
34 Desktop
35 Control Panel folder
36 Start menu folder
37 Printers folder
38 Fonts folder
39 Windows flag
40 Music CD
41 Green tree
42 Multiple documents
43 Find file(s)
44 Find on networked computer
45 Monitor on case
46 Control Panel folder (again)
47 Printers folder (again)
48 Printer image on pad of papers
49 Network printer
50 Print to file (3 1/2" disk)
51 Alternate full Recycle Bin (1 of 3)
52 Alternate full Recycle Bin (2 of 3; with light green recycle arrows)
53 Alternate full Recycle Bin (3 of 3)
54 From document to document
55 Documents going from folder to folder
56 Pen writing label for folder
57 Computer, yellow gear, and small open yellow folder
58 Configuration file
59 Text file
60 Window with yellow gear
61 Gears image on document
62 Font file
63 True Type font file
64 Window with larger hourglass cursor (2 of 2)
65 Are you sure you want to delete these files?
66 Tape backup (hard drive, yellow cassette tape, 3 1/2" disk)
67 Cutout of CD in drive
68 Defragment
69 Printer (again)
70 Network printer (again)
71 Print to file (again)
--
______________________________
Tomas Frieberg
tomas.f...@mbox330.swipnet.se
http://www.csd.uu.se/~s95tfr