?
Solved

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

Posted on 2008-10-06
4
Medium Priority
?
230 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

719 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