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



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.




.



Relevant Pages

  • Re: Image Processing Capabilities in VFP
    ... way of graphics manipulation built in. ... It can display images, but that's ... VFP9 makes heavy use of GDI+ and that particular Windows API is ... There's not much in VFP natively, but there's gold in the FFC. ...
    (microsoft.public.fox.helpwanted)
  • Re: Convert Word Graphics in VFP 8
    ... handled ultimately by GDI+, ... from within VFP as an PRG-file and as an EXE-file outside ... It always works from the command window. ... > Perhepas there is a way to upgrade the OLE-files on the 2000 enviroment. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Progressive JPG
    ... very simple conversion of image files ... >I am using GDI+ and there is a flag for saving bitmaps to ... >will it support this rather handy compression?? ... progressive JPG in ...
    (microsoft.public.vb.general.discussion)
  • Re: GDI+
    ... Since you use VFP 8 there is no needs in ReportListener object - simply ... Regarding GDI+, make sure GDIPlus.DLL is installed on your PC and FoxPro can ...
    (microsoft.public.fox.programmer.exchange)
  • Re: [Bug Suspicion] So, <any_gdi_object>.Dispose() does ... what exactly?
    ... it's not just an issue of Icons. ... Every object created by GDI+ ... creates a handle that should be released besides Disposing it. ... >> Mick Doherty ...
    (microsoft.public.dotnet.framework.drawing)

Loading