Word Processing with an Extended Rich Text Box Control
This article describes an easy approach to building a simple word processor around an extended version of the Rich Text Box (RTB) control; Microsoft has made available an extended version of the RTB control that greatly eases the requirements for printing the control’s text or RTF content.
The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Word Processing with an Extended Rich Text Box Control


Chand MohammadPosted Aug 20, 2011, 6:32 AM EDT
Dear sir, thanks for such a great code for RTFs, Can we find and replace with font formats (like MS word Search Formattings)
Ellen RamckePosted Jun 30, 2011, 12:02 PM EDT
Very great code Tnx much!! http://social.msdn.microsoft.com/Forums/en-US/visualbasicde/thread/6f277286-8526-49e7-b8d8-03d9a8bae578 the posts in msdn Ellen
Stefan WeissPosted Jun 30, 2010, 2:49 AM EDT
Hi Scott, very nice Code! :-) Do you have an example for adding a table with and fill the cells with a string? thanks
Francisco PapiaPosted Apr 22, 2010, 7:03 PM EDT
Very good code. Very clean code. Very understandable.
Kim AcketPosted Mar 24, 2010, 9:01 AM EDT
I have a question, I would like to create a custom user control of this Richt text editor. How can I do this? Thanks out front.
TimPosted Feb 11, 2010, 3:45 AM EST
Hello, I have try the code and its works fine but i like to shrink the picture because its take all my space from my richtextbox my image is 50x50 inch so its really small but i get it large and not small and how can i set the image above the page. please thanks tim email : [email protected]
isuru dheerasinghePosted Oct 9, 2009, 8:48 AM EDT
Me code aka deepan<!--Session data-->
JohnnyPosted Oct 9, 2008, 12:43 PM EDT
Very good vb program. I do however have a query! I load all my RTF files from embedded resources and would appreciate a sample of code that i can add, which will produce the goods made from the RichTexteditor. When i make a rtf file from the RTEditor and save it, i then add this file to my resources, i reference to it, but the entire rtf will not produce the goods - only jumbled line after line of letters,numbers and so on... Example: RichTextBox1.Text=My.Resources.Test (test is the name of my embedded rtf file(. Any suggestions or code will be gratefully appreciated. Thanks. Johnny...
MarkoPosted Nov 5, 2007, 11:49 AM EST
I would like to have a control over printing - printing a selection, a single page. How do I do that? Thanks.
dovan baiPosted Oct 31, 2007, 12:30 AM EDT
why you use two project?
Mohamed YehiaPosted Sep 15, 2007, 6:37 AM EDT
hello. first, I want to thank you for this article, it is very useful to me. but I want to automate ms word eg: insert new text from my application to active document directly without using (new) keyword. email: [email protected]
MIchael DPosted Mar 2, 2007, 5:50 AM EST
What the hell is PrintDocument1 and why can't I convert my RTF text to it?