Hello All,
I don't understandy why I met "Invalid picture" when I try to load .ico (as enclosed) into a form?
please advise what's wrong with my .ico?
Thanks & Regards
Printable View
Hello All,
I don't understandy why I met "Invalid picture" when I try to load .ico (as enclosed) into a form?
please advise what's wrong with my .ico?
Thanks & Regards
That icon is 32-bit colour (with alpha), and VB only supports icons with 24-bit colour or less.
Hi
I`m using VB6.In one of my form i need to use to my company logo.
its size 16x16,type Icon.
But while using this icon im getting invalid picture error msg.
hey
notice what si_the_geek said
ur icon should be of 24 bit in color depth atmost
otherwise it will not load ; or else there is problem in format of icon
Your company could provide multiple icon formats, ask them to provide you a 4 bit (16 color), 8 bit (256 color) or 24 bit (true color) icon in a size of 16x16 and/or 32x32.Quote:
Originally Posted by kanthasamyraja
I have recently written a couple of articles about this, which are in our Classic VB FAQs (in the FAQ forum, which is shown near the top of our home page), they are:
The first gives a bit more detail about the cause of the problem, and the second explains what programs you can use to edit the icon to make VB recognise it.
Thanks for ur info