Click here to Skip to main content
15,669,304 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello everyone,

I am looking for a "Rich Textbox" editor for windows application and which should support all text formating as well as image support.

Actually my requirement is, i have to store all the data edited in the "Rich Textbox" including images to a Word File.

There no problem to fetch normal text, but i am not getting how to fetch the image from "Rich Textbox" and store it in a word file.

If any one know about this please help me.

Thanks in advance.
Manjunath MH

1 solution

Try with this:

Word Processor Based Upon an Extended RichTextBox Control[^]

If you save your Rich Textbox content to RTF file, word can easily open it.

Share this answer
Manjunathmh 11-Feb-12 5:33am    
Dear Mario Majcica,Thank you for your reply.

No i don't want to store the file in .rtf format, it should be in .docx file format.

Actually i tried to convert the .rtf file to .docx file as well, but it rises the "FileFormatException-(File contains corrupted data)" exception (I tried with both 'Microsoft.Office.Interop and OpenXML'. Nothing works for me) :(

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900