Ugly app.ico

  • Thread starter Thread starter Henke
  • Start date Start date
H

Henke

Why does the application icon only shows some gray pattern, no matter what
picture I draw in the app.ico?

Thanks in advance, Henke!
 
* "Henke said:
Why does the application icon only shows some gray pattern, no matter what
picture I draw in the app.ico?

Which tool(s) do you use to create the icon files?
 
I use the built-in drawing tool. I just dubble click the default
App.ico-file and then edit it. When the application is run the icon looks
just as the default icon looks in the solution explorer.

/Henke
 
An other thing that might be good to know.
If I right-click on the ico-file and selects View in Browser it looks ok.

/Henke
 
* "Henke said:
I use the built-in drawing tool. I just dubble click the default
App.ico-file and then edit it. When the application is run the icon looks
just as the default icon looks in the solution explorer.

You are using the Visual Studio .NET Icon Editor?
 
Do you change the palette or number of colors in any way? What color is the pixel in the bottom-left corner? Sometimes that color is used for transparency...
 
Hi!

I don't think so. It's 32x32 pixels and 16 colors. The bottom left pixel is
the background color.

/Henke

Iulian Ionescu said:
Do you change the palette or number of colors in any way? What color is
the pixel in the bottom-left corner? Sometimes that color is used for
transparency...
 
The problem is most likely that you only edited the 32x32 icon in the icon
file. By default, .Net creates icon files with 32x32 and 16x16 icons. In
most cases, when there are multiple icon sizes in the icon file, you can't
control which icon Windows will show in the task bar or Windows Explorer.

While editing the icon, go to the menu: Image->Current Icon Image Types and
select the 16x16 icon and change it as well.

That should fix your problem.

Dale
 
Thanks Dale!

That solved my problem. I didn't knew that the ico-file could contain more
than one icon. This isn't very well documented in the help files, I think.

/Henke
 
Back
Top