That's odd. StreamWriter has a ctor that takes a string path, so your code should work.
You could try opening a FileStream explicitly, and passing that into the StreamWriter ctor.
Regards,
Nick.
No comments:
Post a Comment