Converting Incompatible Icon
I have an icon that I've converted from an image to a .ico file. When I try to add it to a form it says "Invalid Picture". How can I make the icon valid? I've tried a few programs to do it but none of them work right. I can almost get IrfanView to make the icon compatible with VB but it doesn't quite get the transparent color right. I can still see some black around the border of the icon. Thanks
Re: Converting Incompatible Icon
I believe You used Image to Icon converter. If this be the case use the non-XP type of icons True colors etc. You will find a wizard to do this.... :wave:
Re: Converting Incompatible Icon
Please use program to convert to 256 color icon etc "Microangelo".
Re: Converting Incompatible Icon
Oh, it has to be 256 colors? Hmm, what program is best to manually change the icon of a VB executable to a "True Color" icon?
Re: Converting Incompatible Icon
Quote:
change the icon of a VB executable
are you by any chance talking about your setup file's icon?
Re: Converting Incompatible Icon
No, I'm trying to add a "True Color" icon to my compiled VB .exe after it's been compiled since, I guess, VB doesn't support anything higher than 256 colors.
Re: Converting Incompatible Icon
VB does accept them, as long as the icon also contains 256 color images.
::Edit::
Not accepted by VB.
Code:
64x64 XP color
48x48 XP color
32x32 XP color
16x16 XP color
Accepted by VB. The main icon of your application will be a XP color icon.
Code:
64x64 XP color
64x64 256 colors
48x48 XP color
48x48 256 colors
32x32 XP color
32x32 256 colors
16x16 XP color
16x16 256 colors
Re: Converting Incompatible Icon
Huh? Why are all of the "Accepted" items also in the "Not Accepted" list?
Re: Converting Incompatible Icon
Because a proper icon contains multiple images in different sizes. VB can't handle it when the icon only has XP color images. By adding 256 color versions, VB will use a 256 color image when necessary: for example in the titlebar of the application.
Re: Converting Incompatible Icon
What program can I use to make it compatible? I tried Microangelo but I'm not sure sure how to get it to convert the icon to a VB compatible icon.