Specify an Icon for exe in .net

Hi folk,

This is very small thing but most of beginners don’t know about this.  The Icon property for a project specifies the icon file that will be displayed for the compiled application in File Explorer and in the Windows taskbar.

That format should be in .ico format.  proceed with the following steps to achieve this.

To specify an application icon

  • In Solution Explorer, choose a project node (not the Solution node).
  • On the menu bar, choose Project, Properties.
  • When the Project Designer appears, choose the Application tab.
  • In the Icon list, choose an icon (.ico) file.

To specify an application icon and add it to your project

  • In Solution Explorer, choose a project node (not the Solution node).
  • On the menu bar, choose Project, Properties.
  • When the Project Designer appears, choose the Application tab.
  • Near the Icon list, choose the <Browse…> button, and then browse to the location of the icon file that you want.
  • The icon file is added to your project as a content file.

cheers..

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s