beautypg.com

Kofax DOKuStar Validation User Manual

Page 78

background image

DOKuStar Validation for Ascent Capture

Page

74

Then we have to modify the functions

loadDefault()

and

storeDefault()

. In

loadDefault()

we

first check whether the registry key already exists. If not we load the workspace from file, otherwise we fetch it from
the registry. In

storeDefault()

we store the workspace to the registry and into a file. So, when

dsval.exe

is started for the first time, the workspace will be loaded from file. When Validation is closed the workspace will be
written to the registry as well. From then on the workspace will always be loaded from and stored to the registry. If
you delete the specified key from the registry the same will happen again. So you are now able to handle different
workspaces.