542192 save rich text box keeping article format vb.net
N/A
S-au achitat serviciile după ce au fost prestate
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 [url removed, login to view], ByVal e As [url removed, login to view]) Handles [url removed, login to view]
'[url removed, login to view]("C:\url scraper" & [url removed, login to view] & ".txt")
SaveRichText2File(RichTextBox2, "C:\Users\default.default-PC\Desktop\my article spinner\WindowsApplication2", "[url removed, login to view]")
End Sub
Public Sub SaveRichText2File(ByVal rt As RichTextBox, ByVal path As String, ByVal FileName As String)
Dim sw As New [url removed, login to view](path & "\" & FileName)
[url removed, login to view]([url removed, login to view])
[url removed, login to view]()
End Sub
urgent project please help
ID Proiect: #2288133