Share via


how to create ico file and how assign it to my winforms .exe file

Question

Thursday, January 24, 2013 11:13 AM

Hi, i have a small requirement in winform apps.

how to create a ico file and 

how can assign to my exe file

pls assist me 

All replies (4)

Thursday, January 24, 2013 11:22 AM âś…Answered

Hi,

You can create icons with special software or online, or in Visual Studio (Add -> New item... -> Icon file).

To assign it to an application, open up the properties page of your project, go to the application tab and set the icon in the 'Icon' field under 'resources - Icon and manifest'.

Hope this helps

Please mark the best replies as answers
Blog: bloggingabout.net/blogs/rick
Twitter: @rickvdbosch


Thursday, January 24, 2013 11:20 AM

To assign an icon to your exe, use the Application tab in the Properties of the project (see attached image).

To create the icon, just copy any .ico file from your hard disk and open it with Visual Studio. Visual Studio contains a rudimentary graphics editor that will let you modify the content of the .ico. You can then assign it to the .exe as shown above, and also to the Icon property of the forms in your project so that the forms will show that icon in their top left corner and in the taskbar.


Thursday, January 24, 2013 11:25 AM

Try it here. You can create your own ico files in Visual Studio or on photo editors that supports ico files.

Please consider my reply. Please mark it as helpful. :)


Friday, January 25, 2013 7:52 AM

Thanks Mr Bosch, for assisting

Thanks and Regards,

Dhayanand kalimidi

+90-9901581912