>>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.
>
>How about the static method File.WriteAllText(...)? There is also a write-all-bytes which I use all the time. The file class has a lot of cool members.
Thank you, Einar. I have some really good ideas from everybody.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham