Change default icon for Windows Application

  • Thread starter Thread starter Hai Ly Hoang
  • Start date Start date
H

Hai Ly Hoang

Creating an Windows application with C# (a.exe).
My program a.exe has default icon (in Windows Explorer). How to change
default icon for my program ?
(Certainly, not by creating an shortcuts to a.exe)

Thanks
 
Asuming you are using MS VS .Net

Add the Icon you want to your project,
Set the build action property for the icon to "embedded resource"

Open the property dialog for the project,
under Common properties/General/Application Icon/
enter the name of your added file.

Thats it

/Tomas P.
 
Back
Top