Available in the LEADTOOLS Imaging toolkit. |
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.
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.
Visual Basic
EXAMPLES\OCX\VB\MAINDEMO
contains a sample application that demonstrates most of the ActiveX capabilities
in Visual Basic 5.0. To run the 32-bit sample application, you can run
the EXE file in LEAD's BIN directory.
Click here
to run the WIN32 version of this example.
EXAMPLES\OCX\VB\BINDDEMO
contains a sample database application implemented using data binding.
For WIN32 systems, this example references the IMAGES\LEADPIC.MDB database.
To run the 32-bit sample application, you can run the EXE file in LEAD's
BIN directory, specifying the correct database as a command-line argument.
Click here
to run the WIN32 version of this example.
EXAMPLES\OCX\VB\DBDEMO contains sample project code for an ODBC database example in Visual Basic 5.0. To use the DB demo, you must first do the following:
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.
EXAMPLES\OCX\VB\FXDEMO
demonstrates the LEADTOOLS special effects, including paint effects, transitions,
three-dimensional text, and three-dimensional shapes. To run the 32-bit
sample application, you can run the EXE file in LEAD's BIN directory.
Click here
to run the WIN32 version of this example.
Visual C++ 4.0
EXAMPLES\OCX\MSVC\MAINDEMO contains sample project code for Visual C++
4.0. You can open the project in Visual C++; then compile and run it.
Click here
to run the WIN32 version of this example.
EXAMPLES\OCX\MSVC\DBDEMO contains sample project code for a database example in Visual C++ 4.0. To use the DB demo, you must first do the following:
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.