Is there a way to keep the text formatting as it is while reading content form word into richtextbox control in C#?

RTF controls only accept RTF formated text or plain text.So you have to save the .doc file as .rtf file with the save-as option and then load it the control. That should do the trick.

rtf control can`t read doc file

use COM components in .net "microsoft word 9 library" so will be easy to handel opening and saving ur own files ...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.