Hi all,
I'm using this to write a string to file:
Dim myFileStream As New FileStream(sFilename, FileMode.Open)
Dim swStreamWriter As New StreamWriter(myFileStream)
swStreamWriter.Write(script)
swStreamWriter.Close()
myFileStream.Close
This works fine, except that it adds " to the start and end of the string.
How can I avoid that?
Thanks
I'm using this to write a string to file:
Dim myFileStream As New FileStream(sFilename, FileMode.Open)
Dim swStreamWriter As New StreamWriter(myFileStream)
swStreamWriter.Write(script)
swStreamWriter.Close()
myFileStream.Close
This works fine, except that it adds " to the start and end of the string.
How can I avoid that?
Thanks