Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this a bug?
Message
De
27/04/2006 00:45:31
 
 
À
26/04/2006 15:53:30
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Titre:
Divers
Thread ID:
01116836
Message ID:
01116975
Vues:
12
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform