How to open word file in RichTextBox coontrol in c#

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How to open/show/display .doc or .rtf ( having formatted text and pic ) in RichTextBox control in C#.
 
Use the LoadFile method of the RichTextBox control.

BTW, a RichTextBox control can show only eiher of the following formats:
rtf,
plain-text, and
unicode plain-text

You won't be able to show a doc file.

HTH,
fbhcah
 

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

Back
Top