I ran into this not too long ago. I don't think VFP allows for more than 16 colors in this icon.
From the help file: "Building an Application for Distribution"
"If you want to display your own icon, create an icon (.ico) file with two images: one small (16 by 16) and one standard (32 by 32). Create both images as 16-color icons."
>Hello,
>
>When I compile a Visual FoxPro 6.0 application to an executable file, and I attach an icon that has 256 colors to the project, the icon is not added to the file.
>I found out, that it works properly with a 16 colors icon
>The icon resource in the executable is defined with 16 colors and I cannot change it.
>Does anybody know how to attach a 256 color icon to the executable? (Microangelo doesn't allow it either.)
>
>Thanks for help in advance!
Insanity: Doing the same thing over and over and expecting different results.