471,350 Members | 1,793 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

Replace Default Application Icon

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.
Jan 18 '06 #1
1 4408
"quest" <an********@microsoft.com> wrote in message
news:Ok**************@TK2MSFTNGP10.phx.gbl...
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.
Jan 18 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Matthew Fitzpatrick | last post: by
1 post views Thread by Hai Ly Hoang | last post: by
3 posts views Thread by Wayne | last post: by
1 post views Thread by UJ | last post: by
3 posts views Thread by Anil Kumar Sharma | last post: by
4 posts views Thread by randy1200 | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.