Rich Text Box Controls

Introduction

There are many things the can be done with a rich text control. You can create a word processor that has multiple features including put bullets, automatic save & load, and being able to superscript & subscript. All of these and more will be shown in here.

Because most visual basic programmers already know the main functions of the regular textbox, I'll skip that part of the rich textbox control.  The main function I use the rich textbox is to save and load files.  The rich textbox makes very simple to create save and load files. There are three parts to a rich textbox, the textbox, the file path, and the file type.  You don’t need to specify the file type if the file path already contains it.

Save a file:

Object.Save (FilePath, FileType)

Load a file:

Object.Load (FilePath, FileType)

   As you can see loading and saving are very similar and very simple.  This saves everything including text, color, and bullets.  Next is the different ways of editing the format.

You might also like...

Comments

About the author

ZERO-COOL United States

I'm a 12 year old child who is interested in learning programming languages. My current two are Visual Basic and C++.

Interested in writing for us? Find out more.

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“If Java had true garbage collection, most programs would delete themselves upon execution.” - Robert Sewell