Home All Groups Group Topic Archive Search About

icon file not displaying icon figure I drew

Author
23 Mar 2006 10:23 PM
Rich
Hello,

I have created icons before with icon editor that comes with VS2003 without
any issues.   Today I created another icon for my VB.Net app.  But this .ico
file is not displaying the figure that I drew on it in the editor (32x32). 
When I add the icon to the project, the icon does not display the figure on
the form, but it does display in the Alt-Tab box, and it displays in the
Project Properties page.  Also, the icon does not display the figure in the
icon solution window.  I also added the icon to a shortcut that I created in
the ajoining setup/install project that I added to my project.  On most of my
projects/apps the icons I create display the figures.  But not this project. 
Is there something I need to do (or undo)?

Thanks,
Rich

Author
23 Mar 2006 11:29 PM
Herfried K. Wagner [MVP]
"Rich" <R***@discussions.microsoft.com> schrieb:
> I have created icons before with icon editor that comes with VS2003
> without
> any issues.   Today I created another icon for my VB.Net app.  But this
> .ico
> file is not displaying the figure that I drew on it in the editor (32x32).
> When I add the icon to the project, the icon does not display the figure
> on
> the form, but it does display in the Alt-Tab box, and it displays in the
> Project Properties page.

Maybe the icon file contains other (empty) icon images with different color
depths or resolutions which are picked instead of the image you have drawn.
To check this, open the icon file in VS.NET, right-click the editor panel
and choose the appropriate menu item to see which images are contained in
the icon file.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>