|
-
Sep 18th, 2007, 12:01 AM
#1
Thread Starter
Hyperactive Member
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
-
Sep 18th, 2007, 12:40 AM
#2
Frenzied Member
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....
-
Sep 18th, 2007, 12:53 AM
#3
Addicted Member
Re: Converting Incompatible Icon
Please use program to convert to 256 color icon etc "Microangelo".
-
Sep 18th, 2007, 01:01 AM
#4
Thread Starter
Hyperactive Member
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?
-
Sep 18th, 2007, 01:59 AM
#5
Frenzied Member
Re: Converting Incompatible Icon
change the icon of a VB executable
are you by any chance talking about your setup file's icon?
-
Sep 18th, 2007, 02:14 AM
#6
Thread Starter
Hyperactive Member
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.
-
Sep 18th, 2007, 08:31 AM
#7
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
Last edited by Chris001; Sep 18th, 2007 at 08:37 AM.
-
Sep 20th, 2007, 12:19 AM
#8
Thread Starter
Hyperactive Member
Re: Converting Incompatible Icon
Huh? Why are all of the "Accepted" items also in the "Not Accepted" list?
-
Sep 20th, 2007, 12:05 PM
#9
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.
-
Sep 20th, 2007, 02:55 PM
#10
Thread Starter
Hyperactive Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|