>
> Dim s As String
> Dim fs As New StreamWriter("MyFile.txt")
> fs.WriteLine(s)
> fs.Close()
>
>
>The declaration initializes a FileStream with a StreamWriter wrapper. You can get to the underlying FileStream with .BaseStream for things like ansynchronous read/write.
Thanks, this is much better.