Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to release the file handle
Message
From
28/10/1998 14:19:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to release the file handle
Miscellaneous
Thread ID:
00151831
Message ID:
00151831
Views:
52
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
Next
Reply
Map
View

Click here to load this message in the networking platform