Distributing and Registering PSQL ActiveX Files
For information about distributing your PSQL application, see
Distributing PSQL Applications
in
PSQL Programmer's Guide
.
The following table includes the files required to run your application built with the ActiveX access method:
Table 6
Redistributable Files
File
Location
Description
ACBTR732.OCX
file_path
\PSQL\bin\
PSQL Data Source Control
ACCTR732.OCX
file_path
\PSQL\bin\
PSQL Bound Controls
PEDTCONV.DLL
file_path
\PSQL\bin\
Data conversion DLL
PBTRVD32.DLL
file_path
\PSQL\bin\
Meta data handling DLL
For default locations of PSQL files, see
Where are the PSQL files installed?
in
Getting Started With PSQL
.
Once you have distributed PSQL ActiveX files and the required DLLs, you must register the ActiveX files so that they function correctly. There are two ways you can register these files:
•
Many current installation utilities, such as InstallShield, can be modified to automatically register ActiveX controls during the installation process (for more information, refer to the documentation for your particular installation utility).
•
Another way to register ActiveX controls is to install the redistributable file REGSVR32.EXE and run it during (or after) the installation process. This is a simple ActiveX registration utility that takes the name of the ActiveX to be registered as a command-line parameter (e.g., REGSVR32 C:\MyInstall\ACBTR732.OCX).