Hi,
What does the error say?
You can write a string value to a text file like this:
FileWriter writer = new FileWriter("test.txt");
writer.write("this is a test file");
writer.close();
If you try this, what error do you get?
Regards,
Geert Arys
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 6 of 6
Thread: how do i write data to text fileThreaded View
|
Click Here to Expand Forum to Full Width |