Click here to Skip to main content
15,923,845 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
can anyone plz tell me how to give icon to a application in vb
Posted

1 solution

From http://www.vb-helper.com/howto_net_app_icon.html[^]:
The application's icon is displayed when you view the executable with applications such as Windows Explorer. It displays a large 32x32 pixel icon in its Large Icon display and a 16x16 pixel icon in its other displays.

Right-click the project in Project Explorer and select Properties. Open the Common Properties folder, select the Build item, and set the "Application icon" value. You can either select an icon resource embedded in the project or select an icon file.

To make an embedded icon resource, make the icon file. You can use an external tool or the IDE's icon editor. Personally, I like to draw the icon in MSPaint or some other program and then copy and paste it into the integrated icon editor.

After you add the icon file to the project, select it in Project Explorer. Then in the Properties window, set its Build Action property to Embedded Resource./blockquote>
 
Share this answer
 
Comments
HARDEEP_SAINI 31-Mar-12 8:22am    
thanks alot..............
André Kraak 31-Mar-12 10:02am    
Your welcome.

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