Home > .NET, Article, Article Spinning, Data Scraping, VB.NET, Visual Basic > Save Rich Text Box Keeping Article Format Vb.net

Save Rich Text Box Keeping Article Format Vb.net

December 25th, 2011

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…


Save Rich Text Box Keeping Article Format Vb.net

Comments are closed.
Bear