First Steps with ActiveX Controls
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 Access Method into Visual Basic and Delphi
The following procedures show how to import ActiveX controls into your IDE.
Visual Basic
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
Select the Pervasive ActiveX Data Source and Pervasive Bound Controls options.
5
Delphi
1
From the Component menu, select Import Active X Controls. The Active X Control dialog box is displayed.
Figure 1 Import ActiveX Control Dialog Box (Delphi)
2
Select Pervasive ActiveX Data Source and then click Install.
3
The blue ActiveX control icons should now appear in the Delphi Component Palette.