ScubaSteve7
Member
- Joined
- Dec 1, 2010
- Sythe Gold
- 0
- Messages
- 35
I don't feel showing my code is necessary, so here's the idea.
I create a StreamWriter, write to a the file, close it, email it, then erase it using File.WriteAll(path, "").
The problem is that i'm trying to do this using a loop, and I can't use the StreamWriter again in the loop because I have closed it. Is there a way to reopen it? or what other options are there?
I create a StreamWriter, write to a the file, close it, email it, then erase it using File.WriteAll(path, "").
The problem is that i'm trying to do this using a loop, and I can't use the StreamWriter again in the loop because I have closed it. Is there a way to reopen it? or what other options are there?


