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. The examples were also compiled with a TWAIN features license. To get Document/Medical capabilities, you must buy a LEADTOOLS Document/Medical toolkit. To get TWAIN features, you must buy one of the toolkits which includes the TWAIN features. Otherwise, if you recompile the examples, the resulting executable files will not have the Document/Medical, or TWAIN features.

Visual C++ 5.0

TwainDemo

Examples\COM\MSVC5\TwainDemo contains a sample application that demonstrates most of the TWAIN features in the Visual C++ 5.0 environment. You can open the project in Visual C++; then compile and run it.

Visual Basic

TwainDemo

Examples\COM\VB\TwainDemo contains a sample application that demonstrates most of the TWAIN features in the Visual Basic 5.0 environment. You can open the project in Visual Basic; then compile and run it.