0% found this document useful (0 votes)
666 views

Establishing Direct Connection To BM ZKEMKeeper

The document provides instructions for connecting a finger scanning machine purchased for a time and attendance system to a .NET software system via TCP/IP. It describes checking the machine's IP address in its user manual, registering the Zkemkeeper.dll file by typing commands in the command prompt, adding a reference to the dll in the project, and includes sample code to test the connection on a button click event.

Uploaded by

Anand Chinnappan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
666 views

Establishing Direct Connection To BM ZKEMKeeper

The document provides instructions for connecting a finger scanning machine purchased for a time and attendance system to a .NET software system via TCP/IP. It describes checking the machine's IP address in its user manual, registering the Zkemkeeper.dll file by typing commands in the command prompt, adding a reference to the dll in the project, and includes sample code to test the connection on a button click event.

Uploaded by

Anand Chinnappan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

When you buy a finger scanning machine to construct a time and attendance system, you may already be provided

with the Standalone development for ZKEMSDK (i.e. ZkemKeeper.dll). This tutorial will describe how to see check if your purchased device is actually connected to your .NET software system via TCP/IP protocol. First of all, you need to go to your machines user manual to see how to set the IP of the scanning machine. Then you can ping your machines IP to see if it exists in your LAN. Next, you need to copy all the .dll files in your SDK directory to the your windows system32 folder. Click start -> run. Type cmd in the open dialog. Change the directory to your windows system32 folder in the command prompt. Type regsvr32 Zkemkeeper.dll to register your dll. There will be a successful notice appearing in the screen.

To add a reference to your zkemkeeper.dll, right click the Reference node under your time and attendance project node inside the solution explorer window. Click the Add Reference menu. In the new pop up window, under COM tab loate and select the ZKEMKeeper6.0 Control. Click the OK button.

Declare your connection object as the following code. private zkemkeeper.CZKEM machineObj; machineObj = new zkemkeeper.CZKEM(); In the click event of the Test connection button, add the following code. bool status = false; status = machineObj.Connect_Net(ip_address, 4370);

if (status) { MessageBox.Show("Connect to machine successfully"); } else { // Connection errors occur }

https://compilr.com/gowris/aa/AttLogsMain.cs http://www.scribd.com/doc/52735449/ManualSDKForTFT http://www.scribd.com/doc/52257111/222/ClearWorkCode#outer_page_11

You might also like