Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-10-06
4
Medium Priority
?
234 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 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

One of the most frequently asked questions on EE in the "Windows Installer" zone is how to eliminate self-triggered installation of some product.  The problem occurs when, suddenly, whenever a certain application is launched, or even when a folder i…
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

963 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