By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,402 Members | 1,117 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,402 IT Pros & Developers. It's quick & easy.

C# app icon in windows explorer

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.