about RichTextBox

T

Tony Johansson

Hello!!

If I have a RichTextBox control in my form and want to save the contents in
this RichTextBox to a file on disk can I then use
the SaveFile method on richTextBox object when I have choosen for example
file test.txt in the SaveFileDialog.

//Tony
 
J

Jeff Johnson

If I have a RichTextBox control in my form and want to save the contents
in this RichTextBox to a file on disk can I then use
the SaveFile method on richTextBox object when I have choosen for example
file test.txt in the SaveFileDialog.

What exactly is your question? Because it seems like you have all the pieces
and are asking if it would work. Why not just try it?

If you're asking if you can save an RTF file with a .TXT extension, then the
answer is "Yes, but why would you?"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top