TX Text Control ActiveX

Getting Started

Topic

If TX Text Control ActiveX is new to you, start with a working program. The Visual Basic tutorials of the product build word processors and mail merge applications from sample projects step by step, and the ASP samples use TXTextControl in server-side scripts on Microsoft Internet Information Server. The first tutorial takes you from an empty Visual Basic project to a small word processor.

Where to Start

  1. Install TX Text Control as described in the Installation Guide, then work through Creating a Simple Word Processor. It places TXTextControl, TXButtonBar, TXRulerBar and TXStatusBar on a form, connects them and adds menus for formatting, the clipboard and files.
  2. Continue with A Word Processor, the TXWords sample, which adds page setup, printing, search and replace, paragraph frames and color dialog boxes.
  3. Open the tutorial of the feature you need from the table below.

Find the Right Page

The other Visual Basic tutorials of the old Visual Basic User's Guide are now in the sections of the features they cover:

If you want toRead
Build a first word processor in Visual BasicCreating a Simple Word Processor
Choose a file format for loading and savingWorking with Files
Load files that users drop on the controlFile Drag and Drop
Set title, author and other document propertiesDocument Properties
Study a complete MDI word processorA Word Processor
Insert images and text framesUsing Images, Using Text Frames
Work with marked text fields, hyperlinks and Word fieldsUsing Marked Text Fields in Visual Basic, Hypertext Links, Using Microsoft Word Fields
Add headers and footersHeaders and Footers
Edit XML documentsXML Basics
Print documentsPrinting
Store documents in a databaseConnecting to Databases
Merge database data into a templateMail Merge, starting with Merging Database Data and Text
Use TX Text Control in ASP and VBScriptSimple Sample Programs

Visual Basic Tutorials

The tutorials describe how to use TX Text Control with Microsoft Visual Basic. Most of them explain a sample program whose source code is in a directory below Samples\vb6, such as Samples\vb6\Simple for the first tutorial and Samples\vb6\TXWords for the word processor.

  • Document Editor. The tutorials in Document Editor cover files, drag and drop, document properties, images, text frames, headers and footers, fields, XML and printing.
  • Mail Merge. The three steps of Mail Merge insert the contents of database fields at specified positions in a prepared document, print more than one record and generate templates dynamically. Connecting to Databases stores the entire contents of a TXTextControl in a database field.

ASP Samples

Simple Sample Programs create TXTextControl in a server-side script and generate dynamic content: a PDF file, a table, formatted text and tables, merged documents and a printed document. ASP and VBScript lists the prerequisites and an advanced online store example.

Pages in This Section