>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?
Is your repo code above representative of what you're trying to do - i.e. try to delete a file while it's in use by VFP? I'd expect that should always fail on a "file in use" error. If you
were able to delete (i.e. in VFP6) I'd consider
that a bug.
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