Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to release the file handle
Message
 
À
28/10/1998 14:19:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00151831
Message ID:
00151988
Vues:
16
>When opening a program, VFP doesn't release the handle on the file even after the program is closed.
>
>Ex.:
>- MODIFY COMMAND MyFile
>- Close MyFile
>- Try to delete MyFile.PRG from Windows Explorer, you get a "File is in use" error
>
>What command, other than QUIT, will force VFP to release the file handle? I tried CLOSE ALL, CLOSE PROGRAM, CLEAR ALL, RELEASE ALL, RELEASE ALL EXTENDED and FLUSH without success.
>
>TIA

Sylvain,
this is weird, I just tried it with no problem, are you sure no one else is editing the file?
Pete Kane
Regards,
Peter J. Kane



Pete
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform