Save Rich Text Box Keeping Article Format Vb.net

I need to save a file and keep the format of new lines

example at present my text file from rich text box saves in one line

i need it to save like

this is an article
this is a new line
this is the saved article

instead of saving as one line here is my code so far

Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
‘RichTextBox2.SaveFile(“C:\url scraper” & filename.Text & “.txt”)
SaveRichText2File(RichT…

Leave a Reply

Your email address will not be published. Required fields are marked *