473,382 Members | 1,717 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

C# app icon in windows explorer

WRH
Hello
This must be on a faq somewhere but despite a lot of googling
I still can't resolve this issue: I have a C# app and I would like
to see its icon displayed when the exe file is viewed in windows
explorer. The icon is an embedded resource and displays normally
in the title bar when the app is opened.
Nov 16 '05 #1
5 3587
Click Project - Properties.

From the Property Pages select Common Properties - General and have a look
at Application Icon.

Cheers,
Phil.

"WRH" wrote:
Hello
This must be on a faq somewhere but despite a lot of googling
I still can't resolve this issue: I have a C# app and I would like
to see its icon displayed when the exe file is viewed in windows
explorer. The icon is an embedded resource and displays normally
in the title bar when the app is opened.

Nov 16 '05 #2
WRH
Thanks for the prompt response... still no joy however :(

I do set the Application Icon...it displays correctly when
I open the app; the problem is its not displayed when
the app is listed in the windows explorer (XP, SP2)
(When I create a shortcut to the app and look at the
shortcuts properties it says that the exe contains no
icons)

"Phil Williams" <Ph**********@discussions.microsoft.com> wrote in message
news:42**********************************@microsof t.com...
Click Project - Properties.

From the Property Pages select Common Properties - General and have a look
at Application Icon.

Cheers,
Phil.

"WRH" wrote:
Hello
This must be on a faq somewhere but despite a lot of googling
I still can't resolve this issue: I have a C# app and I would like
to see its icon displayed when the exe file is viewed in windows
explorer. The icon is an embedded resource and displays normally
in the title bar when the app is opened.

Nov 16 '05 #3
I'm using VS2003, XP and SP2 and it works fine.

Correct me if I'm wrong but the icon you see in the corner of the form and
on the taskbar is the form's icon, not the application's icon?

All the Best,
Phil.

"WRH" wrote:
Thanks for the prompt response... still no joy however :(

I do set the Application Icon...it displays correctly when
I open the app; the problem is its not displayed when
the app is listed in the windows explorer (XP, SP2)
(When I create a shortcut to the app and look at the
shortcuts properties it says that the exe contains no
icons)

"Phil Williams" <Ph**********@discussions.microsoft.com> wrote in message
news:42**********************************@microsof t.com...
Click Project - Properties.

From the Property Pages select Common Properties - General and have a look
at Application Icon.

Cheers,
Phil.

"WRH" wrote:
Hello
This must be on a faq somewhere but despite a lot of googling
I still can't resolve this issue: I have a C# app and I would like
to see its icon displayed when the exe file is viewed in windows
explorer. The icon is an embedded resource and displays normally
in the title bar when the app is opened.


Nov 16 '05 #4
WRH
Thanks again for your response. I finally solved my problem...
it turns out that the form icon can be 32X32 but the app icon
cannot...I made a 16X16 for the app icon and it now works
fine.

"Phil Williams" <Ph**********@discussions.microsoft.com> wrote in message
news:FE**********************************@microsof t.com...
I'm using VS2003, XP and SP2 and it works fine.

Correct me if I'm wrong but the icon you see in the corner of the form and
on the taskbar is the form's icon, not the application's icon?

All the Best,
Phil.

"WRH" wrote:
Thanks for the prompt response... still no joy however :(

I do set the Application Icon...it displays correctly when
I open the app; the problem is its not displayed when
the app is listed in the windows explorer (XP, SP2)
(When I create a shortcut to the app and look at the
shortcuts properties it says that the exe contains no
icons)

"Phil Williams" <Ph**********@discussions.microsoft.com> wrote in message
news:42**********************************@microsof t.com...
> Click Project - Properties.
>
> From the Property Pages select Common Properties - General and have a
> look
> at Application Icon.
>
> Cheers,
> Phil.
>
> "WRH" wrote:
>
>> Hello
>> This must be on a faq somewhere but despite a lot of googling
>> I still can't resolve this issue: I have a C# app and I would like
>> to see its icon displayed when the exe file is viewed in windows
>> explorer. The icon is an embedded resource and displays normally
>> in the title bar when the app is opened.
>>
>>
>>


Nov 16 '05 #5
Is it possible to set the application icon also programatically (I would
like to change it dynamically, from within my application) ?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: .pd. | last post by:
Hi - I created an icon in VS.NET 2003. I did nothing more than Project-> New Item->Icon File and then used the paint tools to draw it. Then I saved the file. In Windows Explorer, the icon is...
3
by: scoobydoo | last post by:
hi, I have a problem displaying icons at the right colour depthin a ListView. I've made an icon file, (using IconWorkshop 5), it has 3 icons within it. A 32x32 32bpp XP style icon, a 32x32...
2
by: Alexander Keßler | last post by:
Hi, I want to programm some kind of Explorer like the Windows Explorer. And I want to know how can i get the same Icons/Symbols for the files and directories like the Windows Explorer uses. ...
7
by: Alexander Keßler | last post by:
Hi, I asked u this morning: --------------------------------------- I want to programm some kind of Explorer like the Windows Explorer. And I want to know how can i get the same Icons/Symbols...
3
by: Dennis | last post by:
I have a bitmap and make the color transparent; mybitmap.MakeTransparent(Color.Black) When I save it as a Icon, the black color is not transparent. However, if I save it as a bitmap then...
1
by: Jon Okie | last post by:
I have a class inherited from component with a specialized designer. I would like to know how I can customize the icon that appears next to my class name in the solution explorer. Right now, the...
4
by: randy1200 | last post by:
I have a Windows application that previously had the company logo "MyCompany.ico" added to the upper left-most corner. The company has since issued a new version of "MyCompany.ico" that looks...
3
by: Patrick Dugan | last post by:
I am using VS2005 (vb) and I have a program that starts when Windows boots up. Occasionally the icon that should appear in the system tray does not show up. The program is still running in memory...
2
by: \(O\)enone | last post by:
I wish to be able to copy a form's icon into a picturebox, in a similar way to how the Windows Taskbar copies each form's icon into each of its task panels. I can easily read out the icon of...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.