desktop - Icon changes to old one when filename matches old one

08
2014-07
  • Moshe

    I'm using Vista Home Premium x64.

    I wrote a program in Visual Studio 2008 I put it on my desktop.

    Then, I deleted the program and changed the icon in Visual Studio and recompiled it.

    Then I moved the program with the new icon from the output folder in Visual Studio onto my desktop.

    The icon changed back to the old one. When I renamed the file, the icon changed to the new one again.

    Why is this? (My hunch is that this is related to the search/indexing service...)

    EDIT:

    Ganesh's solution did not work...

    EDIT 2:

    How can I fix the icon(s)? In Diago's words: "How can I stop this from happening?"

  • Answers
  • romkyns

    Why is this? (My hunch is that this is related to the search/indexing service...)

    It's because Explorer caches the icons for performance reasons and fails to figure out you've changed it. Been there... quite annoying.

    I haven't found a reliable way to clear the cache - incidentally, you didn't state whether this is what you actually wanted to ask ;)

  • Ganesh R.

    Try rebuilding the Windows Explorer Icon Cache Procedure here.

  • efotinis

    I was able to replicate this problem on Vista Ultimate x64 SP2. Changing the desktop mode to 16- and then back to 32-bit fixed it immediately (no restart or logging off required).


  • Related Question

    windows - How can I change my Desktop Icons "Gravity" on XP?
  • RBarryYoung

    The Icons on my XP desktop have the normal left "gravity". That is, they fill-up from the left side to the right side. However, the wallpaper that I have just switched to makes the left side "busy" and the icons are hard to see there, so I would really like to switch them to a right-side gravity. Nothing fancy, like Fences, I just want to change their default fill direction.

    I thought for sure that I used to be able to do this in Windows, but I sure cannot find any way to do it in XP. Anyone know how to do this?


  • Related Answers
  • John Barrett

    A little idle googling turned up a couple of possibilities:

    WinTidy 2 has layouts/templates for aligning icons. Problems with XP SP2, YMMV.

    Iconoid allows you to save icon positions for multiple resolutions, so may help with your docking/res change issue.

    As far as I can see there is no inbuilt feature to align icons to the right of the desktop.

  • T. Kaltnekar

    Don't know any easy solution either except disabling "Auto Arrange" option. Then you can arrange icons anyway you like. If you want even more freedom in placing them you can even disable "Align to grid".

  • Gnoupi

    Alternative possibility, eventually : Flip the wallpaper, to have the "busy" side on the right.

    (Not a direct answer, but a possibility if no other way is found)

    Edit: Of course it might be a problem if there is text on the wallpaper (and in the case you actually want to read it)

  • Seasoned Advice (cooking)

    All you have to do is right click on your desktop go to arrange by icon then go to auto arrange and uncheck it. Then you are able to move your icons anywhere.