Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP using cached files somehow
Message
De
01/09/2004 10:16:40
 
 
À
01/09/2004 09:57:41
Barry Newton
Plan International
London, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00938387
Message ID:
00938395
Vues:
11
If you are reading the entire file in, and then later writing the whole file back to save it, look at filetostr() to get the file, and strtofile() to save it back....

>hi
>i've a problem writing and saving files to disk. i'm using fopen() to open a file and display it in an edit box. i then make a change to the file and write the editbox.value back to the file which seems to work. i can open the newly saved file in text editor and see the change.
>however, when i open the same file again in VFP, the older version is still the one that i see, not the newly changed and saved file.
>i've tried using fopen(filename,10) for unbuffered, and also tried using fflush() but to no avail.
>any ideas welcomed.
>thanks,
>barry
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform