Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Low-level file functions
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00632938
Message ID:
00632947
Views:
10
>I'm using low level file fuctions to log certain miscellaneous messages to a text file.
>
>If the file already exists, I open it using FOPEN, then move the pointer to the end of the file using Fseek(lnFileHandle, 0, 2) and then tried using both FPUTS and FWRITE to append to the file.
>
>This didn't work and I'm not sure why. Is it possible to append to a text file using the low level functions?
>
>I am currently running in the VFP 5.0 environment and am not able to use FileToStr and StrToFile.
>
>TIA!

While you may not have the new methods, have you ever thought of just appending the data into a memo field, adding what you want, then copying it back out to a file? Might be easier than using the low level functions.
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Reply
Map
View

Click here to load this message in the networking platform