Replace Default Application Icon

  • Thread starter Thread starter quest
  • Start date Start date
Q

quest

I created windows application using C#. I tried to replace the default
application icon by replacing the app.ico file in the project directory but
the application still load the old icon. Can someone helps ? Thanks.
 
quest said:
I created windows application using C#. I tried to replace the default
application icon by replacing the app.ico file in the project directory
but
the application still load the old icon. Can someone helps ? Thanks.

There are 3 different application icons used in different places:

1) The one on the window itself which must be set by property
2) The two! icons in the single App.ico file

The 2 icons in the App.ico file are 2 different sizes (32x32 & 16x16) used
at diferent times - the usual problem is that you only changed or provided
one size. The context menu in the icon editor allows you to switch or add
new sizes

Of course once you have sorted App.ico you will probably want to use it in
the window - I don't know why VS doesn't do this automatically for you

Another possible problem is that App.ico is purely a VS convenience so if
you are not using VS to build it will not work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Icon in WindowApplication 3
Task Bar Icon 4
App.ico 4
multiple icons 3
Changing the Icon of the *.exe file 3
ico WINFORM confusion 5
How to fix Steam game icons appearing as .url files 1
VS Setup Project Question 1

Back
Top