>>ISTR there was some command that needed to be run when putting image files in reports on the fly, so that the correct image would actually appear for each detail band rather than just the first image loaded being cached and repeated endlessly. Ah - remembered it - CLEAR RESOURCES. If it turns out to be a GDI resource issue you might want to issue that command before/after loading each new image.
>
>Actually no, I stopped the GDI and am using a simple image control with
>
>
lcpic=Filetostr(lcFullp)
> loFrm.img.PictureVal=lcpic
> Release lcpic
>
>At some point the GDI was too unwieldy, had too many errors with various .png encodings and I abandoned it. Went for the simplest instead.
My limited understanding is using images at all in VFP causes them to be cached and to thereby use up GDI resources (don't need to process them
via GDI for this to occur (?)).
Might be interesting to preface your code above with CLEAR RESOURCES, see if it makes any difference.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up