Application icon not displaying

  • Thread starter Mervin Williams
  • Start date
M

Mervin Williams

I have assigned a custom icon (32x32 bit, 256 colors) to my C# Windows Forms
application in Visual Studio .NET 2003, but when I run the application it
does not display my custom icon - it shows the default icon. I also created
a deployment project for my application, and no icon displays for either the
Start Menu or Desktop shortcuts.

What am I doing wrong?

Thanks in advance,

Mervin Williams
 
H

Herfried K. Wagner [MVP]

Mervin Williams said:
I have assigned a custom icon (32x32 bit, 256 colors) to my C# Windows
Forms application in Visual Studio .NET 2003, but when I run the
application it does not display my custom icon - it shows the default icon.

First, make sure you assigned the icon to the project and not only to the
application's main form's 'Icon' property. Additionally I would include
images for 16 × 16 pixels and 32
× 32 pixels @ 4 bpp.
 

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

Top