Streamwriter

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dim sw As New IO.StreamWriter("File path")
sw.WriteLine ("This is a line of text")
sw.Flush()
sw.Close

I got this sample from Crouchie1998

but the vb program VB 6.0 doesn't recognise the IO.StreamWriter() part.
would there be a reason for this maybe I'm not using the right libary?
 
Would have thought you'd need vb.net to use it, but perhaps not.

Could try System.IO.StreamWriter

Jon
 
Back
Top