Example Programs

Note: You can run some of the example programs on your system by clicking the appropriate buttons in online help. An error message will appear if you try to run an example program that is not on your system, or if you try to run a Delphi example without Delphi on your system.

The executable files for these examples were compiled with Document/Medical capabilities of the toolkit. To get Document/Medical capabilities, you must buy a LEADTOOLS Document/Medical toolkit. Otherwise, if you recompile the examples, the resulting executable files will not have the Document/Medical capabilities.

Internet

Visual Basic

1. Specify an ODBC data source named LEADACCESS that references the IMAGES\LEADPIC.MDB database. For instructions on specifying an ODBC data source, refer to Using ODBC.

2. Open the project in Visual Basic and modify the Dpeople data control's DatabaseName property to reference the IMAGES\LEADPIC.MDB database.

Visual C++ 4.0

1. Specify an ODBC data source named LEADACCESS that references the IMAGES\LEADPIC.MDB database. For instructions on specifying an ODBC data source, refer to Using ODBC.

2. Open the project in Visual C++ and modify the GetDefaultDBName function to reference the IMAGES\LEADPIC.MDB database.

Access 95 and 97

Note: These are Access 95 examples, which you can convert to Access 97. In the database example, the maximize button is disabled because of problems with the SetMenuItem method in Access 97.

1. Specify an ODBC data source named LEADACCESS that references the IMAGES\LEADPIC.MDB database. For instructions on specifying an ODBC data source, refer to Using ODBC.

2. Open the project in Access 95 and modify Query1 to reference the IMAGES\LEADPIC.MDB database.

3. Run the sample application from Access by opening the MAIN form.