beautypg.com

Creating an add-in – Kofax DOKuStar Validation User Manual

Page 62

background image

DOKuStar Validation for Ascent Capture

Page

58

Creating an Add-In

An add-in for DOKuStar Validation is always an

ActiveX Control

. You can write such an ActiveX Control in

any programming language. In our example we use Visual Basic.

In Visual Basic use the

New Project

command of the

File

menu and choose

ActiveX Control

from the

appearing

New Project

dialog box:

Now choose

References

from the

Project

menu. In the

References

dialog box select the entry

ODT

DOKuStar DataSet

x.y

Type Library

(x.y is the version number of the currently installed version) to be

able to use the add-in functionality:

Name the project

ValiTour

and add a new class module

MyValidation

to the project. Change the property

Instancing

of the class

MyValidation

from

PublicNotCreatable

to

MultiUse

. This is important;

otherwise the add-in will not work.

There is now one new function: