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
Solved

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

Posted on 2008-10-06
4
216 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Google Directions API to Map URL -C#? 3 37
C# Desktop Application 3 54
Help with opening combobox using VB.NET. 3 25
Word 2016 Installation Problem on Terminal Server 9 39
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

856 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