Using ODBC

The LEADTOOLS ActiveX supports database access using Open Database Connectivity (ODBC). Before using any application (including LEADTOOLS examples) to access any database, you must first specify the ODBC data source as follows.

Note: The LEADTOOLS ActiveX requires ODBC drivers that can properly handle long binary fields. Examples have been tested and will work with version 3.0 of the Microsoft ODBC Desktop Driver Pack. (This driver pack ships with Access 95 and works on 32-bit systems.) You can download drivers from ftp://ftp.leadtools.com/pub/utils/ODBC32.zip. The file to download is ODBC32.ZIP.

1. Open the ODBC administrator and click the Add button.

2. Select the appropriate driver and click the OK button. (Use the Microsoft Access driver for Visual Basic, Visual C++.)

3. Enter a data source name and a description.

4. Click the Select directory button and select the directory containing the database you want to access.

5. Step out of the ODBC administrator by clicking the OK button on two forms then clicking the Close button.