Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to set default icon while deploying windows application. i am getting a file type(default) icon after installing my deployed win application. default icon should be my selected one
Posted
Updated 6-Jan-10 0:26am
v2

Go to the properties of your project (the windows application type project in case you have several)

Tab 'Application' (first one)

There you can choose a icon.

Not sure about this but I think you have to include that icon file into your setup (if you have a setup).
 
Share this answer
 
i did but still i am unable to get icon. Can any one.....please help
 
Share this answer
 
v2
Depending upon system settings like resolution, etc, and maybe even the OS, different size icons are used. For example, it's possible that you have an icon that is setup to display a 16x16 icon but the OS wants to display a 32x32 icon. Make sure that your icon has the needed Image Type. If you use Visual Studio, you can open your icon there to edit it. Then check in the Image menu under Current Icon Image Types. You could add a few other "Image Types" which are really just other versions of your icon in a different size and/or different set of colors. I usually make sure my icons have at least these Image Types:
16x16 4 bit
32x32, 4 bit
16x16, 8 bit

All of this is strictly for a .ico file.

Hope this helps.
 
Share this answer
 

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