File Open dialog box uses default Desktop, Recent icons

  • Thread starter Thread starter Rev. Bob 'Bob' Crispen
  • Start date Start date
R

Rev. Bob 'Bob' Crispen

I used Desktop Architect to change the icons for My Computer, etc.,
and they show up fine on my desktop and in Windows Explorer.

On the "Open File" dialog box, the icons on the left-hand side for
My Network Places, My Computer, and My Documents are the icons I've
customized, but the icons for Desktop and My Recent Documents are
the defaults, seemingly straight out of shell32.dll.

I've verified with regedit that the keys and values are as described on
<http://www.geocities.com/~budallen/icons.html#Modifying Default Desktop Icons>
<http://tinyurl.com/8cdff>

Any ideas how to get those last two icons to look the way I've
specified them?

TIA
--
Rev. Bob "Bob" Crispen
bob at crispen dot org
Ex Cathedra weblog: http://blog.crispen.org/

The Golden Age of the Internet was last year. The Golden Age of the
Internet was *always* last year.
 
The Recent documents folder icon can be changed by editing the desktop.ini
present in that folder.

Default contents:
-----------------

[.ShellClassInfo]
[email protected],-12692
IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=-21
[email protected],-12691

Customize it accordingly, for example:

[.ShellClassInfo]
[email protected],-12692
IconFile=%SystemRoot%\MyIcon.dll
IconIndex=1
[email protected],-12691


--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


I used Desktop Architect to change the icons for My Computer, etc.,
and they show up fine on my desktop and in Windows Explorer.

On the "Open File" dialog box, the icons on the left-hand side for
My Network Places, My Computer, and My Documents are the icons I've
customized, but the icons for Desktop and My Recent Documents are
the defaults, seemingly straight out of shell32.dll.

I've verified with regedit that the keys and values are as described on
<http://www.geocities.com/~budallen/icons.html#Modifying Default Desktop Icons>
<http://tinyurl.com/8cdff>

Any ideas how to get those last two icons to look the way I've
specified them?

TIA
--
Rev. Bob "Bob" Crispen
bob at crispen dot org
Ex Cathedra weblog: http://blog.crispen.org/

The Golden Age of the Internet was last year. The Golden Age of the
Internet was *always* last year.
 
The Recent documents folder icon can be changed by editing the
desktop.ini present in that folder.

Thanks very much. That worked great. One down, one to go. I've
got:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
\Explorer\Shell Icons]
"20"="C:\\WINDOWS\\icons\\Tangerine-Desktop.ico,0"
"34"="C:\\WINDOWS\\icons\\Tangerine-Desktop.ico,0"

It shows up fine in Windows Explorer, but not on the File Open
dialog.
--
Rev. Bob "Bob" Crispen
bob at crispen dot org
Ex Cathedra weblog: http://blog.crispen.org/

The Golden Age of the Internet was last year. The Golden Age of the
Internet was *always* last year.
 
"34"="C:\\WINDOWS\\icons\\Tangerine-Desktop.ico,0"

I've not tried overriding the shell icon "34", but if you're using an ico
file itself, there there is no need to mention the index.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


The Recent documents folder icon can be changed by editing the
desktop.ini present in that folder.

Thanks very much. That worked great. One down, one to go. I've
got:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
\Explorer\Shell Icons]
"20"="C:\\WINDOWS\\icons\\Tangerine-Desktop.ico,0"
"34"="C:\\WINDOWS\\icons\\Tangerine-Desktop.ico,0"

It shows up fine in Windows Explorer, but not on the File Open
dialog.
--
Rev. Bob "Bob" Crispen
bob at crispen dot org
Ex Cathedra weblog: http://blog.crispen.org/

The Golden Age of the Internet was last year. The Golden Age of the
Internet was *always* last year.
 
I've not tried overriding the shell icon "34", but if you're using
an ico file itself, there there is no need to mention the index.

Thanks. I went back a little more thoroughly through the earlier
posts and found what they call that bar (the Places Bar). I used
TweakUI to customize the Places Bar -- I took the Desktop and Recent
Documents icons off (since I never use them anyway), and problem
solved! ;-)

Wild speculation: two (well, probably lots more) different people
wrote the Places Bar code in comdlg32.dll -- one of them used the
registry to fetch the icons, and the other used hardwired references
to shell32.dll.

How close did I get? Do I get a prize?
--
Rev. Bob "Bob" Crispen
bob at crispen dot org
Ex Cathedra weblog: http://blog.crispen.org/

The Golden Age of the Internet was last year. The Golden Age of the
Internet was *always* last year.
 
Bob,

Yes, you're correct. And that's what I've observed when I replied initially.
Must be hard-coded as you said.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


I've not tried overriding the shell icon "34", but if you're using
an ico file itself, there there is no need to mention the index.

Thanks. I went back a little more thoroughly through the earlier
posts and found what they call that bar (the Places Bar). I used
TweakUI to customize the Places Bar -- I took the Desktop and Recent
Documents icons off (since I never use them anyway), and problem
solved! ;-)

Wild speculation: two (well, probably lots more) different people
wrote the Places Bar code in comdlg32.dll -- one of them used the
registry to fetch the icons, and the other used hardwired references
to shell32.dll.

How close did I get? Do I get a prize?
--
Rev. Bob "Bob" Crispen
bob at crispen dot org
Ex Cathedra weblog: http://blog.crispen.org/

The Golden Age of the Internet was last year. The Golden Age of the
Internet was *always* last year.
 
Yes, you're correct. And that's what I've observed when I replied
initially. Must be hard-coded as you said.

Ahh, then that would make my insight considerably less impressive. ;-)

Sorry, it went in one eyeball and out the other the first time.
--
Rev. Bob "Bob" Crispen
bob at crispen dot org
Ex Cathedra weblog: http://blog.crispen.org/

The Golden Age of the Internet was last year. The Golden Age of the
Internet was *always* last year.
 
Back
Top