Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strtofile inconsistent
Message
De
23/02/2008 03:29:04
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01295630
Message ID:
01295653
Vues:
15
My guess is that you have a file with the same name included in your project, in which case it is included in your exe and seen as read only. Another possibility is that you must include the path.

>I have been beating my head against the wall trying to solve this but no luck so far.
>
>Basically I am collecting information that I need to append to a file with the following
>
>
lnNumberBytes = Strtofile(clString,lcFilename, .t.)
>
>This works fine when in development, however, when I am running the exe, the number of bytes returned is 0. The first time the lcFileName is created, it save, but when appending it will not.
>
>I tried passing a 1 but still the same results.
>
>
lnNumberBytes = Strtofile(clString,lcFilename, 1)
>
>
>Any suggestions would be greatly appreciated.
>
>Thanks in advance
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform