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
 
Back
Top