Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to release the file handle
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00151831
Message ID:
00152111
Views:
18
>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

It's an intermittant problem, related to the FXP. When it DOES happen I haven't found any solution except QUIT. Sometimes (not always) a recompile will help.

Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform