11-04-2011, 07:37 AM
I need some help with a code, how can I save the text from a RichTextBox to a TXT document? I have tried the following code but when I open the TXT Document there comes a strange code!
And then I have a second question:
How can I make a code so that for example the setting 'Text' contains the text from the saved TXT Document above?
Code:
My.Forms.main.txt_text.SaveFile("C:\Program Files\info\Text.txt", RichTextBoxStreamType.RichText)
And then I have a second question:
How can I make a code so that for example the setting 'Text' contains the text from the saved TXT Document above?