Results 1 to 10 of 10

Thread: Funny Icons

  1. #1
    5 Star Lounger
    Join Date
    Mar 2002
    Location
    Buenos Aires, Argentina
    Posts
    877
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Funny Icons

    I've got this one that has been roaming on my mind for some time... And I hadn't found anyone that could give me a real answer. When I turn my PC on I find that the icons do not match the type of document that I have there. For example, Word files appear with a Winamp icon, MP3s appear with a folder icon, XLSs appear with a dll icon... and this is not always the same; I mean the image is not always the same. I thought that this was a virus, but I haven't found any, although I have scanned my system with several virus detection programs. Does anyone have a clue what may be causing this? I have office 97 installed, if it might be of any help.

    TIA!

    The Baru Guru
    <img src=/w3timages/blue3line.gif width=33% height=2>
    <img src=/S/flags/Argentina.gif border=0 alt=Argentina width=30 height=18> <big><font color=4682b4><font face="Comic Sans MS">Diegol</font face=comic></font color=4682b4> </big>

  2. #2
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Funny Icons

    Check this thread from the WinME forum - the same applies.
    My money would be on your ShellIconCache...

  3. #3
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Funny Icons

    You've got a corrupt icon cache. It's not uncommon. What you need to do is to locate the file ShellIconCache and delete it. It's a hidden file, and it lives in the Windows directory.

    To find it, click on the taskbar (the bar with the clock) and press F3. Then search for that filename, making sure that you tell Windows to look for hidden files and folders. That should clear up your problem.
    -Mark

  4. #4
    5 Star Lounger
    Join Date
    Mar 2002
    Location
    Buenos Aires, Argentina
    Posts
    877
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Funny Icons

    I can only bow...

    Extra speed! Amazing!

    The Baru Guru
    <img src=/w3timages/blue3line.gif width=33% height=2>
    <img src=/S/flags/Argentina.gif border=0 alt=Argentina width=30 height=18> <big><font color=4682b4><font face="Comic Sans MS">Diegol</font face=comic></font color=4682b4> </big>

  5. #5
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Funny Icons

    You may find the problem keeps recurring -- as you IconCache keeps getting full. You can increase your IconCache size by editing the registry, however, a more convenient way is to use this .reg file and then modify the IconCacheSize by using the Folder Options | View dialog box.
    --------------------------

    REGEDIT4

    [HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentV ersionexplorerAdvancedIconCache]
    "Text"="Icon Cache Size"
    "Type"="group"
    "Bitmap"="SHDOC401.DLL,6"
    "HelpID"="update.hlp#51140"

    [HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentV ersionexplorerAdvancedIconCacheSmall]
    "RegPath"="SoftwareMicrosoftWindowsCurrentVersionE xplorer"
    "Text"="1024 Icons"
    "Type"="radio"
    "CheckedValue"="1024"
    "ValueName"="Max Cached Icons"
    "DefaultValue"="2048"
    "HKeyRoot"=dword:80000002
    "HelpID"="update.hlp#51140"

    [HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentV ersionexplorerAdvancedIconCacheMedium]
    "RegPath"="SoftwareMicrosoftWindowsCurrentVersionE xplorer"
    "Text"="2048 Icons"
    "Type"="radio"
    "CheckedValue"="2048"
    "ValueName"="Max Cached Icons"
    "DefaultValue"="2048"
    "HKeyRoot"=dword:80000002
    "HelpID"="update.hlp#51140"

    [HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentV ersionexplorerAdvancedIconCacheLarge]
    "RegPath"="SoftwareMicrosoftWindowsCurrentVersionE xplorer"
    "Text"="4096 Icons"
    "Type"="radio"
    "CheckedValue"="4096"
    "ValueName"="Max Cached Icons"
    "DefaultValue"="2048"
    "HKeyRoot"=dword:80000002
    "HelpID"="update.hlp#51140"

    [HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentV ersionexplorerAdvancedIconCacheHuge]
    "RegPath"="SoftwareMicrosoftWindowsCurrentVersionE xplorer"
    "Text"="8192 Icons"
    "Type"="radio"
    "CheckedValue"="8192"
    "ValueName"="Max Cached Icons"
    "DefaultValue"="2048"
    "HKeyRoot"=dword:80000002
    "HelpID"="update.hlp#51140"
    ----------------------------------------------------------

    NOTE: I borrowed this from someone else (a site that no longer displays this information), but I think the concept is a little off. The "size" should not be in "Icons" but instead in MegaBytes of data...
    Attached Images Attached Images

  6. #6
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Funny Icons

    An interesting REG hack. If you want to correct the text that is displayed, you can modify it - from "1024 Icons" to something appropriate, such as "1024kb" and then you'll have an accurate display.

    Also, if you want to remove this "hack" after the fact, add a minus sign prior to each [HKEY.... line and save the file as RemoveIconCacheHack or similar. This also works for other REG files, if you're like me and play with these things. <img src=/S/innocent.gif border=0 alt=innocent width=20 height=20>
    -Mark

  7. #7
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Funny Icons

    Yeah, I just was too lazy to correct it!

    There is an arguement that the maximum IconCache is 2MB -- because that is what the MSKB says. But... many of us have used larger and it seems to work. I'll dig up some more details -- if you are interested.

  8. #8
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Funny Icons

    I've seen the Microsoft article you refer to, and my suspicion is that they recommend against increasing the size too much simply to cover their behinds. I tend to adjust the cache to the 4MB range - at least on systems with enough RAM - just because memory is umpteen times faster than disk access. I don't recall ever having a problem with the increased size.

    I did like the reg hack simply because it adds the option to the Windows shell, and is easily changeable from there. Seems much simpler than using X-setup or another tool to perform the changes. If you're inclined to find more out about this subject, more power to you - it can inly help to have the knowledge!
    -Mark

  9. #9
    5 Star Lounger
    Join Date
    Mar 2002
    Location
    Buenos Aires, Argentina
    Posts
    877
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Funny Icons

    I dunno much about registry hacking, though I'd like no know more. Now that I think of it, something similar happened to my Office Shortcut Bar even before having this issue in windows. When I put too many shortcuts in it, the Icons would go crazy. Does it also have to do with an overwhelmed Icon Cache?
    <img src=/w3timages/blue3line.gif width=33% height=2>
    <img src=/S/flags/Argentina.gif border=0 alt=Argentina width=30 height=18> <big><font color=4682b4><font face="Comic Sans MS">Diegol</font face=comic></font color=4682b4> </big>

  10. #10
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Funny Icons

    Strangely, I do not seem to be able to locate the MSKB article which gave the "2000" limit. One of the arguements I have previously seen involved whether or not the numbers should be 1000|2000|4000 -- or 1024|2048|4096. People would reference that article to show that 1024 was not necessary.

    OR... perhaps I have found the MSKB article, but now the article gives a maximum limit of 4094! Here is the link: Icons Randomly Change to Different Icons (Q132668).

    You will note that the page was "Last Modifed" Feb 3 2002 8:46PM. I'll bet MS modified this page to increase the maximum size to 4094 -- a strange number.

    I wonder if I can find that page cached on google with different numbers...
    __________________________

    You've got to love google!! YES, here is the cached version of that page. You will note it says:

    "HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrent VersionExplorer
    and then restart your computer. If the icons are still incorrect, delete the ShellIconCache file. The "Max Cached Icons" value data range is between 100 and *2000*. The default value is 500."

    And here is another source with information obviously derived from the old MSKB page.

    Then I found the following on a now defunct PCmag page:

    "To increase the size of the icon cache, you don't have to load the powerful Regedit program. Instead, save the following three lines as Maxcache.reg:

    REGEDIT4
    [HKEY_LOCAL_MACHINESOFTWAREMicrosoft
    WindowsCurrentVersionexplorer]
    "Max Cached Icons"=dword:00001000

    Keep in mind that the middle block of code is enclosed in square brackets and should be entered on one line. When you double-click Maxcache.reg, the Max Cached Icons value will be set to 4096--the decimal equivalent of the hexadecimal number 00001000 on the last line.

    If you want to use a value other than 4096, you'll have to translate it into a hexadecimal. Fortunately, Windows' calculator will do that job for you. Just enter the number you want, then click the option button labeled Hex to convert it to hexadecimal. If you don't see an option button labeled Hex, choose Scientific from the View menu. Now copy the resulting hexadecimal number into Maxcache.reg, replacing 00001000, and double-click Maxcache.reg.

    -- Neil J. Rubenking
    From the 9/1/99 issue of PC Magazine"

    Note that Neil says it is a DWORD -- but the MSKB says it is a String value. For Win98SE, a string works fine. I suspect this type of confusion is the origin of the 1000 vs. 1024 arguement!!! ;-]

    Lastly, here is a recommendation to set the number to 8000! That is the largest I have seen -- eh, except for the 8192 that I have on mine!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •