I am using the richtextbox, and now when I am saving the File, then the File get saved but not as I want.?
File Name: example
File extension: .txt
1.)Hey guys, Whats up?
2.)R u Fine ???
Now When I save the file and open in the notepad. then its seem as:
1.)Hey guys, Whats up?R u Fine ???Reply soon
while if I open the same file with Wordpad then no problem it looks as it should...
So how can I edit this things.
Using Richtextbox only, reason: change specific text fonts/colour/save as rtf,txt,doc etc...
If I add the Following code to my project:
RichTextBox1.SaveFile(SaveFileDialog1.FileName, RichTextBoxStreamType.PlainText) then I will get the output but without font colour/back colour, font size, and all... this is saving as txt file but with different extension (that we save)