Icon in WindowApplication

  • Thread starter Thread starter Hai Ly Hoang [MT00KSTN]
  • Start date Start date
H

Hai Ly Hoang [MT00KSTN]

I have written an WindowApplication (in C# with VS7) . It target file is
MyApp.exe. It's default icon (display in Windows Explorer) is not pretty. I
replaced file app.ico in project directory with my icon. However, the
default icon is not changed .
Can anyone help me to change the icon of my appication.
Thanks in advance
 
1) Make sure that your project properties has the ApplicationIcon property
set correctly to your App.ico

2) If you just edited the App.ico file, make sure you have altered all the
different icon types within it (an .ico file can contain multiple icons.) to
do this, open up the icon file in VS.NET, right-click in the editor away
anywhere *outside* of the image itself, and look at the menu item "current
icon image types". Look at each type listed to verify that it has been
changed.
 
Hi,

Maybe do this:
in MSDN (in your VC# IDE via Help | Index)
select "Walkthroughs, deployment"
select "deployment"
select "Deploying a Windows Application"

Or maybe do this:
In your VC# IDE: Project|bottom line in the list = your appl in which
your Main() resides|Click on "Application Icon"|
Click on little "..." box on the right on the same line |
In "Browse for file ..." click on your icon file.

Patrick.
 
Right click on the Project Name in the VS, choose the respective icon file.
Rebuild the solution. This should change the exe file icon.

Regards,
-HKM
 
Back
Top