Creating a Simple Word Processor

Visual Basic User's Guide

This chapter shows you how to create a small word processor from scratch with just a few lines of code. It will be able to load and save files, use the clipboard, and will have dialog boxes for character and paragraph formatting, a ruler bar, a status bar and full keyboard and mouse interface.

The source code for this example is contained in the Samples\vb6\Simple sample source directory.

Creating the Project

Creating the Controls

Connecting the Controls

Running the Program

Setting the Page View

Resizing the Text Control

Adding a Menu

What Comes Next