PreviousActiveX Controls Guide (v10) Next

First Steps with ActiveX Controls

Chapter contents

This section provides you with a quick way to get started with Pervasive PSQL. After you perform the tasks in this section, you should be on your way to developing your Pervasive PSQL application:

Creating a Database with Pervasive Control Center

The easiest way to create a Pervasive PSQL database is to use Pervasive Control Center, which can be loaded via the Windows Start menu. You can add relational capabilities to existing Btrieve files or you can create a new database, which creates standard data dictionary files (DDFs) so that your Btrieve data can be accessed by other applications.

Pervasive PSQL User's Guide includes a tutorial on how to create a database, and Advanced Operations Guide includes a tutorial on how to create DDFs for existing Btrieve files. The Pervasive PSQL User's Guide contains instructions that will help you quickly step you through creating a new database with relational capabilities (FILE.DDF, INDEX.DDF, and FIELD.DDF).

Importing ActiveX Interface into Visual Basic and Delphi

The following procedures show how to import ActiveX controls into your IDE.

Visual Basic

To import the ActiveX controls into a Visual Basic Project:

  1. Select Projects from the menu bar.
  2. Select Components from the Projects drop down menu.
  3. Select the Controls tab from the Components dialog box.
  4. Click on the check boxes for Pervasive ActiveX Data Source and Pervasive Bound Controls.
  5. Click OK.

Delphi

To import the ActiveX controls into the Delphi:

  1. From the Component menu, select Import Active X Controls. The Active X Control dialog box is displayed.
  2. Figure 1-1 Import ActiveX Control Dialog Box (Delphi)



  3. Select Pervasive ActiveX Data Source and then click Install.
  4. Now you need to import the bound controls. In the Import ActiveX Control dialog box, select Pervasive Bound Controls and click Install.
  5. The blue ActiveX control icons should now appear in the Delphi Component Palette.


Chapter contents
Book contents

Prev topic: Pervasive PSQL Features Unavailable in the ActiveX Interface
Next topic: ActiveX Quick Start