So, on your READ, you want to create an empty file if one does not exist?
Also, if you put a try/catch block around it, the problem could be revealed.
Also, StreamReader and StreamWriter will take a filename as a parameter, so you can avoid the extra step of the "File" creation.
Last edited by thines01; Nov 4th, 2009 at 2:33 pm. Reason: typo
Reputation Points: 290
Solved Threads: 277
Posting Virtuoso
Online 1,689 posts
since Oct 2009