Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine if a text file is in use
Message
 
 
To
10/08/2003 18:02:48
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00815356
Message ID:
00818761
Views:
17
Hi Brian,

As Hilmar suggested, it's better to keep track of open LLFF files in your program and close them when you done. Anyway, you can find out what files are open and there handles by issuing
LIST STATUS TO (lcTempFile) NOCONSOLE
and than parsing file created.

>A better question might be, HOW to determine the low-level Handle of a Text file that is already open?
>
>Obviously we can use FOPEN() to retrieve an error code, and FERROR() likewise. However there seems to be no way to access a file which was previously opened... and no way to close it, or otherwise re-Open with a new Handle.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform