>Dear .NET experts,
>
>I want to log error information into a text file. In VFP I would do it with a simple STRTOFILE() function. Is there something like that in .NET?
>
>Thank you.
No there isn't. You have to create your own and must be carefull about it. The gotcha in .Net binary and text writers are different and you can't simply get both in one go (VFP StrToFile() works with any string that is binary or not).
Cetin