Re: XP Icon Caching Mania ...



Andrew Jameson wrote:

I've just experienced a couple of hours of total frustration fighting
with XP's icon caching. I wanted to add a document icon file
association for my application ... added it to my app, built it (icon
in correct place following main icon) ... installed it and registry
association confirmed as correct ... and file association icon
displayed correctly. Decided to improve the quality of the document
icon ... built, installed ... and no change in displayed icon ! At
first, I thought that the icon hadn't been updated in my app.

I tried rebooting ... deleting IconCache.db ... to no avail.
Altering the registry to point at the icon directly did work but
restoring it back to the application returned the old icon again, I
also found that changing the association to point at the app's main
icon also worked.

In the end, I used Tweakui to do an icon rebuild and apart from
messing up all of my desktop icons positions it did correct the
problem.

Can anyone explain where and how XP manages to cache and associate
old icons that no longer exist ? ... I don't really want to keep
using Tweakui's repair function.


Thanks,

Andrew

We run into the same problem when installing our app on a clean image.
Have yet to figure this out, but it would be nice to learn more about
this.



--

.



Relevant Pages

  • Re: Newbe questions
    ... > remember almost by heart icon at which location represents what. ... > But now I'm new to the RedHat LINIX on KDE and the default behaviour ... > Is there a way to start an app with geometry args ... You will also find here a text editor called "textedit" which I ...
    (comp.os.linux.misc)
  • Re: Tray Icons and custom shell
    ... messages to SysTray to forwarding WM_COMMAND event to some other parts or windows of the same app). ... PostMessage to send the appropriate command to the tray icon window. ... I've a custom shell and therefore no system tray. ...
    (microsoft.public.windowsxp.embedded)
  • Re: [kde] OK -Im trying
    ... icon onto the desktop or onto the panel. ... But I can then close the app and drag it to the desktop folder, ... If I try to drag it to the task bar it crashes kicker Had ... systemsettings> Appearance tab> Fonts? ...
    (KDE)
  • Re: NotifyIcon Problem
    ... The stop button kills your app and so does not clean up the NotifyIcons Icon ... > to Exit the application gracefully when debugging. ... >>> when I kill the app by clicking the STOP button. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Volume Icon in the Task Bar System Tray?
    ... > I would like to write a small VB app that toggles whether the volume icon ... My WinXP never shows the icons at boot-up, ... But if I can write a small app I can just click, ... with your sound card's drivers and/or utility programs (lots of sound card ...
    (microsoft.public.vb.winapi)