
bitmap to ico => invalid file format help
Quote:
> What you have there is a bitmap in a file with an extension of
ICO and that
> is not the same thing as an actual icon. You could save your
bitmap as
> "myfile.txt" but that wouldn't make the contents into a text
description of
> the image... you need to convert your bitmap to icon format.
There is a
> limited image editor that comes with VB and many third-party
image editors
> available.
Well, it is and it isn't. For example, I just saved a 32x32 bitmap
from Paint with the extension ICO, to the desktop. From the
desktop, it not only look like an icon, the picture of the icon is
shown and, in fact, the white areas of the icon are transparent. I
then used the properties window of a shortcut, and Windows
recognized it as an icon just fine.
But, I couldn't load it into an older 16-bit icon editor, and VB
DID give me that error when I tried to assign it to the Form's
icon.
Kind of confusing; I know I've read many times you can create an
icon that way, but the icon created works in some places and not
others.
Certainly the best way is to use a real icon editor, with all it's
advantages (multiple sizes and colors, specify transparent areas,
etc.) is the tool of choice.
--
~~~~~~~~~~~~~~~~~~~~
"For every action, this is an equal and opposite criticism."