Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cloning my hard drive
Message
From
24/01/2017 04:32:57
 
 
To
24/01/2017 03:58:14
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Hardware
Category:
Other
Miscellaneous
Thread ID:
01646878
Message ID:
01646979
Views:
30
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform