RichTextBox1.SaveFile App.Path & "\datafile.txt" when i try to save the contents in richtextbox using that code, it seems like it saves everything including the front style + text + font size. how do i make it so it only saves the text?
Printable View
RichTextBox1.SaveFile App.Path & "\datafile.txt" when i try to save the contents in richtextbox using that code, it seems like it saves everything including the front style + text + font size. how do i make it so it only saves the text?
VB Code:
RichTextBox1.SaveFile App.Path & "\datafile.txt"[b], rtfText[/b] 'as opposed to the default rtfRTF value
try this:
VB Code:
RichTextBox1.SaveFile (App.Path & "\datafile.txt"), rtftext
EDIT: my bad, forgot to set the flag!!