Re: "Icon is corrupt or in the wrong format"



Cesar: Thanks! I'll give it a whirl.

Dan:

Good point, but really, if it works reliably on all systems to which the
program is distributed, then it's a viable workaround, and that's really
all that matters- the sotware works for the customers.

And if it works, why ask "why?" heheh.

Cheers!

-LS


"Dan Freeman" <spam@xxxxxxxxxxxxx> wrote in news:OnyC$VAfHHA.3932
@TK2MSFTNGP02.phx.gbl:

"Liska Station" <msnewsJUNKFILTER@xxxxxxxxxxxxxx> wrote in message
news:Xns990E63FC6956LiskaStation@xxxxxxxxxxxxxxxx
Heheh: Most likely.
It's funny - you'd think a NEWER version would be BETTER about accepting
a
wide array of different formats.

Ummm, yes and no.

When VFP was handling all images internally there was probably a lot of
code
that resized on call and otherwise adjusted stuff to "work" even when it
shouldn't have worked.

Now that they're handing it all off to an external source (GDI+), maybe
it
doesn't make sense to do all that manipulating and maybe it might not
work
since that's all done in memory instead of the resource on disk.

I'm guessing they closed a door a few of us have freely used before. But
that REALLY IS just a guess.

Dan


Ahh well, as long as I got it to work (which I did. Thanks, everyone)
I'm
happy.

I liked having a large format icon so that it looked good in Windows'
thumbnail-icon views but it's not mandatory.

Cheers!

-LS

"Dan Freeman" <spam@xxxxxxxxxxxxx> wrote in news:ewM6aIyeHHA.4636
@TK2MSFTNGP03.phx.gbl:

I'm surprised older versions accepted those formats. VFP has always
been
rather finnicky about image files in general, and icons in particular.

I *suspect* the reason they fail now is the switch from GDI to GDI+.
Instead
of using internal routines for handling images, VFP now relies on GDI+.
Why
it would object *now* is anyone's guess, but perhaps it's validating
what
it
hands off to the GDI+ library?

Dan

"Liska Station" <msnewsJUNKFILTER@xxxxxxxxxxxxxx> wrote in message
news:Xns990DD9B0AF466LiskaStation@xxxxxxxxxxxxxxxx
That's odd. I've been able to use 32x32, 64x64, and 128x128 icons with
256
colors in vfp5, vfp6, and vfp7. It's only since switching to 9 that
I've
had the problem. I'll try jacking it down to 32, and see what
happens.

I'll keep you posted.

-LS


"Fred Taylor" <ftaylor@xxxxxxxx!REMOVE> wrote in news:#$eeF$weHHA.5052
@TK2MSFTNGP06.phx.gbl:

For VFP9, I'm not sure what the limitations are, but the size has
always
been limited to 32x32. I think you can now use the 256 color icons,
but
earlier versions were limited to that size with 16 colors.










.


Loading