Icon for the .exe of a form

  • Thread starter Thread starter Rookie
  • Start date Start date
R

Rookie

Hi,

I have a C# application which has 3 forms. I want to set the icon for the
..exe to a custom made icon. How do I do this? I tried setting the Icon of
the main form. But that didn't work. It only shows that icon in the titlebar
of that form.

Can someone out there help me out this? Thanks.
 
1) Assuming that you wizard-ed a Windows Application C# project you should have an "app.ico" resource visible from solution explorer - that is the desktop visible icon.

2) Also I had troubles one time because I defined a 32x32 icon but the desktop wanted 16x16 or something like that; be certain that you define all needed resolutions and color depths...

--Richard
 
Check in the Project Options. There is a spot in there to change the exe
icon.

HTH

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top