Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get File Creation Date For an Open Table
Message
From
01/02/2007 12:53:22
Jarid Griesel
The Innovix Technology Group (Pty) Ltd
Johannesburg, South Africa
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Get File Creation Date For an Open Table
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01191474
Message ID:
01191474
Views:
57
Hi Everyone

I need to get the file creation date of a vfp table when it is USED() by another vfp application in a sepperate process.

- ADIR() does not give the file creation date.

- The Win32 API GetFileTime function cannot be used because it relies on a file handle returned by the Win32 API CreateFile function. The CreateFile function cannot return a file handle for a file that is already open by another process.

So, any Ideas on how to get the file creation date ?

I would like to think that WinMgmts could help but I have not been able to find anything in there yet ?

TIA
Next
Reply
Map
View

Click here to load this message in the networking platform