Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locked files
Message
 
 
À
01/11/2001 11:53:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00576226
Message ID:
00576306
Vues:
12
This message has been marked as the solution to the initial question of the thread.
>
>I'm trying to read a file as soon as it is free from being written to by another application. Any ideas on how to do this? Thank you.
>

You can use FOPEN() function to check if a file has been released by another program
lnFileHandle = FOPEN('myfile.txt',12)  
IF lnFileHandle < 0  
	* Cannot open file 
ELSE  
	* File is created. Let's use it
	=FCLOSE(lnFileHandle)  
ENDIF
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform