Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get File Creation Date For an Open Table
Message
De
01/02/2007 12:53:22
Jarid Griesel
The Innovix Technology Group (Pty) Ltd
Johannesburg, Afrique du Sud
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Get File Creation Date For an Open Table
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01191474
Message ID:
01191474
Vues:
58
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform