Avatar of linuxrox
linuxrox
Flag for United States of America asked on

How can i make my program icons visible again?

Hello.  I have a strange issue here.  the icons for my programs (exe) are not visible on my desktop, taskbar or even in windows explorer.  the programs run fine but the icons simply do not show up.
i'll include some screenshots so you can see what i mean.

below you can see that some icons show and some do not:
desktop icons
below you will see an example of the vncviewer exe and in the properties it clearly shows the icons are there available as a resource in the exe file, however windows 7 isn't showing the icon on the desktop!
 icon resourses in exe
does anyone have any idea what the problem here could be and how i can solve this issue?  it's bugging me to death!

thank you!
Windows 7

Avatar of undefined
Last Comment
linuxrox

8/22/2022 - Mon
SOLUTION
Adrian Cantrill

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
jcimarron

linuxrox--Have you tried selecting (clicking on) the icon of choice (in that screen shot) and then OK.?
linuxrox

ASKER
yes and i get the error that windows cannot find the file "iconcache.db"
linuxrox

ASKER
i sure have jcimarron.  
Your help has saved me hundreds of hours of internet surfing.
fblack61
Adrian Cantrill

http://screeny05.deviantart.com/art/Rebuild-Icon-Cache-v0-7b-164152806 <-- try running this, it does the same thing, but ive used it in the past and i'm sure it works, if this fails we know that we have to look elsewhere :)
linuxrox

ASKER
woolnoir, i tried that didn't work either!  the iconcache.db file simply doesn't exist.
i'm running sfc /scannow  and then i will reboot.  i've heard that the file should be rebuilt automatically upon reboot if it doesn't exist but i'm not seeing that happen.
Adrian Cantrill

paste the following into  .reg file and run it... reboot... does that make any difference ?
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.ico]
"Content Type"="image/x-icon"
@="icofile"
"PerceivedType"="image"

[HKEY_CLASSES_ROOT\.ico\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"

[HKEY_CLASSES_ROOT\icofile]
@="Icon"
"ImageOptionFlags"=dword:00000000

[HKEY_CLASSES_ROOT\icofile\DefaultIcon]
@="%1"

Open in new window

⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
linuxrox

ASKER
woolnoir, just tried it and nope, didn't do the trick.  same as screenshots.  this is crazy!
Adrian Cantrill

Did you do anything to make the icons vanish ? and is running a system restore (to a restore point before the issue) a viable option ?
linuxrox

ASKER
i do see though that now i do have an iconcache.db and it's 1,250 KB in size.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
linuxrox

ASKER
no, didn't do anything to remove the icons.  a system restore may be the only option yes.  i'll check on that later.
Adrian Cantrill

if you have any idea when it happened that a restore point should fix the issue. Alternatively a repair install (but that's really a last resort).
ASKER CERTIFIED SOLUTION
jcimarron

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
linuxrox

ASKER
Yea I can see the file after I ran sfc /scannow and rebooted but when I use the instructions to rebuild the cache the file is gone. I'll run sfc scannow again and reboot   But last time I did that and could see the iconcache.db file my icons were still missing.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Fayaz

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
linuxrox

ASKER
Fayaz, yes I followed those exact instructions and it did not work.
linuxrox

ASKER
I just gave up and did a system restore from last week and that fixed the issue
Adrian Cantrill

Yep it seems like in a majority if cases that IS the solution.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
linuxrox

ASKER
yea it's really strange.  i mean, i hadn't changed anything in the O.S. so i thought it was very odd.  good thing i make backups!
linuxrox

ASKER
guys i just split these points up here to give everyone something.  thanks for the suggestions and i'm sure in many cases these solutions would have worked.  in my situation though i think reverting to a recent system state was the easiest solution.