Hi ,
I have a form that has a rich text boxes that write to a txt file It works but the two lines in the text file are in one long line How can a make the code write to seperate lines
Code
Dim sfd As New SaveFileDialog
sfd.Filter = "Text files (*.txt)|*.txt|All files (*.*)|*.*"
sfd.ShowDialog()
Dim writer As New System.IO.StreamWriter(sfd.FileName)
writer.Write(RichTextBox1.Text)
writer.Write(RichTextBox2.Text)
writer.Close()


