Send a suggestion!

We're building a brand new version of the site, and we'd love to hear your ideas

Members

Technology Zones

IBM Learning Center

Articles

Hosted By

MaximumASP

Info

Rated
Read 103,576 times

Contents

Related Categories

Rich Text Box Controls - Introduction

ZERO-COOL

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.

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

Comments

  • hi

    Posted by kailas on 17 Oct 2005

    hi redstar...

    m also facing same problem.. do u got any solution?

    with regards,

    kailas

  • arrow intendation

    Posted by sshamsudheen on 21 Apr 2005

    how to get arrow intendation

  • bullet intending

    Posted by sshamsudheen on 21 Apr 2005

    how to chane the bullet intend as arrow

  • Saving and Loading Text formats

    Posted by DanTheMan on 03 Feb 2005

    I am wondering if thier is a way to save and load text formatting using VB6, for example fonts, text colors etc. Does anybody know any easy ways round it???

  • a work around

    Posted by ulaska on 26 Aug 2003

    Try the following code as work around:

    ' flag the section with bullet mark
    rtfSectionText.SelBullet = True

    ' replace bullet with numbers
    rtfSectionText.SelRTF = Replace(rtfSectionText.SelRTF, ...