Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this a bug?
Message
From
26/04/2006 15:53:30
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Title:
Is this a bug?
Miscellaneous
Thread ID:
01116836
Message ID:
01116836
Views:
57
I'm having a problem deleteing a GIF that has transparency in it. The repo code is as follows:
_screen.AddObject("imgGIF", "image")
_screen.imgGif.picture = "C:\Transparent.gif"
ERASE "C:\Transparent.gif"
If you select a GIF that has transparent regions in it, the ERASE command will fail with a "file is in use" error. If the GIF does not have transparent regions in it, all is fine.

This code used to work in VFP6 regardless of the GIF. I know VFP 9 now uses GDI+. Is this problem related to GDI+? If so, are there any workarounds or solutions?

TIA
Mike
Next
Reply
Map
View

Click here to load this message in the networking platform