Where can I set an icon for my application to show it in the taskbar?

I have a windows application developed in visual studio 2005 and the language is C#.
I set an icon for my application in property window of my main project and the exe file shows the icon.
So the EXE file got the icon and is fine.
But when I run the application, it shows it's default icon in the task bar.
How can I set an icon for my application to show in the task bar?

Elham_SeifAsked:
Who is Participating?
 
Priest04Connect With a Mentor Commented:
SStory, he set that already, as he has stated.

Elham_Seif, set the icon of your main form, icon in the tasbar window is the main form icon (usually MDI form).

Goran
0
 
SStoryCommented:
If it is a Windows App, then go to the Project Menu, click Properties, then it is on the Application tab.  Look for the Resources group, and the Icon (Default Icon) property.

God bless you!
0
 
Elham_SeifAuthor Commented:
As I said I did this and the icon is set for the EXE file but when I run the application it shows another icon in the task bar. So that's my problem. Appriciated if you can help me with that.
0
 
Elham_SeifAuthor Commented:
Like a charm
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.