Visual Basic User's Guide
This chapter shows you how to use Text Control to write a standard word processor. The program is based upon the MDI sample from the Visual Basic Programmer's Guide, with the TextBox controls replaced by Text Controls. If you are not familiar with MDI, control arrays or creating a toolbar you may want to read that chapter first.
The source code for this example is contained in the Samples\vb6\TXWords sample source directory.
Adding a PageSetup Dialog Box
A Print Dialog Box
Search and Replace
Using Paragraph Frames
Dialog Boxes for Text and Background Color
Setting the DPI Awareness