Solved

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

Posted on 2008-10-06
4
217 Views
Last Modified: 2013-11-07
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?

0
Comment
Question by:Elham_Seif
  • 2
4 Comments
 
LVL 25

Expert Comment

by:SStory
ID: 22651072
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
 

Author Comment

by:Elham_Seif
ID: 22651226
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
 
LVL 18

Accepted Solution

by:
Priest04 earned 500 total points
ID: 22651316
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
 

Author Closing Comment

by:Elham_Seif
ID: 31503458
Like a charm
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question