Hi,

I'm having a problem with icons in VB6. I love XP, and I'm a very visually oriented person, so I love the new alpha blended icons that XP can support. I'd like to include such icons in my VB apps, but that's where I run into problems.

I go and create my icon with 16, 256 and 16M colours, in sizes 16x16, 24x24, 32x32 and 48x48. I assign that icon to my form, and then set the project to use that form's icon for the exe file. If I create the exe, the icon appears fine in explorer and what have you, using the best available colour depth and size depending on circumstances.

However, when you actually start up the application, the form's icon, and the icon that appears in the start bar for the application, is the hideous 16 colour 16x16 version of the icon, regardless of what display settings you have.

VB6 won't let me import an icon file that has a 16M colour alpha blended icon in it (it says it isn't a valid icon), so I can't use any resource file tricks.

Does anyone know how I can get my application to use the best colour depth available in the icon? I can post a sample icon, if it'll help...

Thanks,


John