Before opening the accompanied sample applications written in Delphi, please import the Dynamic Web TWAIN into Delphi first. The sample applications are installed with Dynamic Web TWAIN and can be found from the Start Menu.
The following shows the steps of using Dynamic Web TWAIN in Embarcadero Delphi XE2. The steps for Delphi XE should be similar.
- Start Delphi XE2.
- On the Component menu, click Import Component to display the Import Component dialog box.
- Select Import ActiveX Control and click Next.
- In the list box of Registered ActiveX Controls dialog box, select Dynamic Web TWAIN. Click Next.

- In the Component dialog box, keep the default setting and click Next.

- In the Create Unit dialog box, select Create Unit and click Finish.
- On the Component menu, click Install Component to display the Install VCL Component dialog box.
- Click the Browse button next to the Unit file name text box. Choose the DYNAMICWEBTWAINCTRLLib_TLB.pas file under [User Directory]\My Documents\RAD Studio\9.0\Imports. Select Install into a new package and click Next.
- In the Install into new package dialog box, input the Package name (e.g. DynamicWebTWAIN). Click Finish.
- In the pop-up confirm dialog box, click Yes to proceed.

Now the installation of Dynamic Web TWAIN complete. You can verify the installation by clicking File -> New -> VCL Form. In the Tool Palette view, DynamicWebTwain control should be under the ActiveX category.

From this point on, you can use Dynamic Web TWAIN in the same way as any other controls in Delphi XE2.
