Click here to Skip to main content
16,013,548 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a windows application....i put some icon on button and form header..

My problem is that when i run exe on windows 7 it work fine...but in xp it not worked..

There is icon problem...when i delete all the icon from application and then run exe on xp it work fine...pls suggest me what is the exact problem in icon...
Posted
Updated 27-Dec-13 0:13am
v2

1 solution

There are known problems with Icons that are 256x256 that work on Win 7, but do not work in XP. Possible issue if the icon is compressed.

The solution is to down-sample (re-create at smaller size) your Icon.

See: [^], [^].

For issue with icons in Vista: [^].

You can convert Icons on-line (free) at ConvertIcon: [^].
 
Share this answer
 
Comments
Karthik_Mahalingam 27-Dec-13 8:51am    
5
kavita painter 28-Dec-13 0:11am    
I Already online converted the icon bt still problem occure in xp..;-(
kavita painter 28-Dec-13 0:14am    
This type of error shows..

System.drawing.icon.intialize(int32 width, int32 height)
kavita painter 28-Dec-13 1:47am    
hey thanks..i get the solution...there is one icon who have 256 size ..so i get the error...thanks alot

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900