CardScan is very handy scan-device for managing your business-cards on your computer. In order to let Windows recognize the product the software delivered with the product installs a driver and a program to manage your scanned cards.
Via the Intellisync software you can replicate your contacts to your local address book. The support site says that you can ONLY replicate to the names.nsf file. Other database filenames it will not accept.
But what if you want to use the scan-device in your Domino application, for example a database that collects first contact details for your CRM application?
Okej, you COULD rename your real names.nsf database and name your CRM application names.nsf and give the form that collects the user details the name Contact. But you DON’T want this because this would screw up your initial Notes setup.
So what are your other options? The CardScan software did install a DLL file, right? Why not use the same DLL that the CardScan program uses in your Domino application?
CardScan Software Developers Kit
The CardScan Software Developers Kit (SDK) is a product for software developers. It provides programmatic access to CardScan’s business card recognition capabilities. Using the SDK you can control the Corex scanner, acquire card images, process them one at a time or in batch, and retrieve the results sorted into fields like Name, Title, Company, Street Address, City, State, and Zip Code.
Example initialization in LotusScript
Const Cardscan_SUCCESS = 1
‘ 1 = Operation succeeded
‘ Initialize the dynamic link library and register the client application:
Declare Function Cardscan_Init Lib “cssdk32.dll” ( RTKaddress As Long) As Long
‘ RTKaddress = address to receive RTK handle
Dim intReturn As Integer
intReturn = Cardscan_Init(RTKaddress)
If intReturn <> Cardscan_SUCCESS Then