Icon won't stay changed!

P

Paul H

I use properties to change the icon on one of my desktop icons. It appears
to accept the change, but when I go back to my desktop, the original icon
appears - it ignores my attempted change. This is on my up-to-date XP on my
new Acer netbook. TIA, Paul
 
P

Paul H

I use properties to change the icon on one of my desktop icons. It appears
to accept the change, but when I go back to my desktop, the original icon
appears - it ignores my attempted change. This is on my up-to-date XP on my
new Acer netbook. TIA, Paul

(I've posted this on multiple groups, because my original post on xp.general
did not get any replies, but has watchers. Please "reply group", not just
yours, so others can view.)
 
P

Pegasus [MVP]

David B. said:
What icon, how did you change it? BTW keep the multi posting to relevant
groups, there are at least 2 that are off topic for your post.

The OP did not multipost - he crossposted. Crossposting is fine when done in
moderation (not much moderation in this thread ...) but multiposting is
always bad because it causes duplication of effort.
 
J

John Wunderlich

I use properties to change the icon on one of my desktop icons.
It appears to accept the change, but when I go back to my desktop,
the original icon appears - it ignores my attempted change. This
is on my up-to-date XP on my new Acer netbook. TIA, Paul

Try this:

"Icons randomly change to different icons"
<http://support.microsoft.com/kb/132668>

HTH,
John
 
T

Tim Meddick

Forget changing the icon the traditional way - open notepad then choose File > Open
(in the "Files of type" box drop-down list choose "All files") then browse for your
Internet Shortcut to open it in Notepad

You should see something like this :


[InternetShortcut]
URL=http://www.google.co.uk/chrome/eula.html
Modified=00F8E13B3480CA0193
IconIndex=0
IconFile=C:\WINDOWS\Icons\Google2.ico



Manually edit the line "IconFile="
If the icon you choose is a real icon file, then make "IconIndex=0"
If the icon is in a "icon library" (.dll) file then you need to make "IconIndex=" the
icon number within that library.

The "Favourites" icon you chose in your screenshots is :

IconFile=C:\WINDOWS\system32\shell32.dll
IconIndex=43

then choose File > Save


If the file STILL will not accept the new icon - you have a problem with your File
Associations for files of type : Internet Shortcut

My advice is to try Doug Knox's File Association Fixes page - the fix for "Internet
Shortcut" files :
http://www.dougknox.com/xp/fileassoc/xp_url_shortcut_fix.zip

Then you should be able to change the icon in the normal way...

==

Cheers, Tim Meddick, Peckham, London. :)
 
T

Tim Meddick

John,
Can't quite see what your reply actually was.

The only comment I can see in your post was :

"Note that (I think) these indexes start from 0, i. e. the first one is
0, the second 1, the third 2 ..."

I rather thought this would be self-evident as when I quoted that if the file in
question was a [simple] icon file, then the line should read : IconIndex=0 ...(as
[most] icon files contain only 1 icon).

Therefore; if a file containing only 1 icon is specified as IconIndex=0 then, by
implication, in a [.dll] file (icon library) icon 1 is specified as IconIndex=0


However, in addition to specifying the icon number in this way, each icon is given a
numerical "name" which can be different from it's actual numerical "position".

To specify the number is the icon's "name" rather than it's "position", a hyphen is
placed before the icon number.

e.g. The red "No-Entry" icon within [shell32.dll] is the 110th icon,
but because icon #1 is referred to as #0, therefore;

IconIndex=109

However, it also has a numerical "name" which, in this case is;

IconIndex=-338

Specifying either will display the same icon.

*NB Please note the hyphen between the [=] and the icon number.

==

Cheers, Tim Meddick, Peckham, London. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

I'd like larger icons... 4
2 netbook xp problems 2
Details, not icons? 6
Aspect Ratio won't stick from boot to boot! 3
finding Favorites shortcut icon 11
Icon removal 10
wrong icon on desktop shortcut 7
Icon Problems 8

Top