Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get Filename from File Handle
Message
From
15/08/2013 03:44:02
 
 
To
15/08/2013 03:18:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows Server 2008
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01580517
Message ID:
01580518
Views:
62
I don't think there is a direct way. To get the file name, you can use List Status to File and parse the file.

>Hi Experts,
>
>When you use the low level command eg FCREATE(), eg nHandle=FCREATE('Textfile.Txt') it creates the file named "Textfile.txt" and nHandle holds the handle Number. Assuming nHandle ends up being 22, Is there a direct way of knowing that the handle 22 relates to file "Textfile.txt' ?
>
>I know that these File handle Numbers and the respective files are visible in the DISPLAY STATUS output.
>
>I need this to track log-ins in my application.
>
>T.I.A
>
>Fred Matano
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform