想要将生物识别设备与vb.net连接 [英] want to connect biometric device with vb.net

查看:43
本文介绍了想要将生物识别设备与vb.net连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



*)我已经习惯了XP(Service Pack-2)-系统(32位).然后安装了Visual Studio 2008(框架3.5),我将不得不将生物识别设备与我的软件连接.


*)我正在使用zkemkeeper.dll.

*)dll文件成功注册.并接受所有命令.

*),但没有更改以下代码的布尔值,


bIsConnected = AxCZKEM2.Connect_Net("192.1.165.202",4371)


*)然后我将检查bIsconnected值,表示true表示设备已连接.否则设备未连接,即值为false.

*)我在运行提示符下验证了PING 192.1.165.202 ,它运行良好,并从该设备进行了回复...

*)这是我的错误,如何解决问题.....

*)请提出解决此问题的想法.

解决方案

您的问题有点废话.我们不知道您正在使用什么设备,因此也不知道为什么需要SP2,API是什么,或者您在说什么.总体而言,您发现使用同一设备的人的几率很低.您应该检查制造该设备的人员是否有FAQ,支持热线和论坛供您询问.


您应该与创建该设备的人员进行交谈-他们应该提供技术支持,并且将比我们更了解他们的产品.如果他们不这样做,那么请寻找其他供应商并要求您退款!

但是您也可以检查防火墙:是否允许端口4371? (我认为这是数字)

[edit]今天我什至无法拼写防火墙...这将是非常忙碌的一天-OriginalGriff [/edit]


一些代码在这里... ...


this.eDatatransferNumber =已选中(this.eDatatransferNumber +1);
this.AnyDeviceSelected = true;
this.eDataTransfer1 =(AxCZKEM [])Utils.CopyArray((Array)this.eDataTransfer1,(Array)new AxCZKEM [checked(this.eDatatransferNumber + 1)]));
this.eDataTransfer1 [this.eDatatransferNumber] = new AxCZKEM();
this.eDataTransfer1 [this.eDatatransferNumber] .AccessibleName = Conversions.ToString(index);
this.eDataTransfer1 [this.eDatatransferNumber] .CreateControl();
this.Controls.Add((Control)this.eDataTransfer1 [this.eDatatransferNumber]);

Application.DoEvents();
flag3 =(((AxCZKEM)this.eDataTransfer1.GetValue(index)).Connect_Net(iPAdd,4370);
Application.DoEvents();

添加该dll的引用,然后在代码上方运行

感谢和问候
萨尔瓦
通过电子邮件发送:varsaratchagan@yahoo.com


hi

*) i have used to xp (service pack-2) -system (32 bit). then installed visual studio 2008(framework 3.5) and i will have to connect the biometric device with my software.


*) i am utilizing zkemkeeper.dll.

*) dll file registered successfully. and all commands accepted.

*) but didn''t change the boolean value for this following,


bIsConnected = AxCZKEM2.Connect_Net("192.1.165.202",4371)


*) then i will check the bIsconnected value true means device connected. otherwise device is not connected, that is value is false.

*) i verified the PING 192.1.165.202 in run prompt, it was working well and reply from that device...

*) this is my error , how to solve the problem.....

*) please give the idea to solve this problem.

解决方案

Your question is a bit of a nonsense. We have no idea what device you''re using, and therefore have no idea why you needed SP2, what the API is, or what on earth you''re talking about. Overall, the odds of you finding someone who is using the same device, are low. You should check if the people who make the device have a FAQ, a support line, and a forum for you to ask on.


You should talk to the people who created it - they should provide technical support and will know more about their product than we will. If they don''t, then find another supplier and demand your money back!

But you could also check your firewall: is port 4371 allowed? (I assume that is what the number is)

[edit]I can''t even spell Firewall today... it''s going to be a looong day - OriginalGriff[/edit]


some Code here........


this.eDatatransferNumber = checked(this.eDatatransferNumber + 1);
this.AnyDeviceSelected = true;
this.eDataTransfer1 = (AxCZKEM[])Utils.CopyArray((Array)this.eDataTransfer1, (Array)new AxCZKEM[checked(this.eDatatransferNumber + 1)]);
this.eDataTransfer1[this.eDatatransferNumber] = new AxCZKEM();
this.eDataTransfer1[this.eDatatransferNumber].AccessibleName = Conversions.ToString(index);
this.eDataTransfer1[this.eDatatransferNumber].CreateControl();
this.Controls.Add((Control)this.eDataTransfer1[this.eDatatransferNumber]);

Application.DoEvents();
flag3 = ((AxCZKEM)this.eDataTransfer1.GetValue(index)).Connect_Net(iPAdd, 4370);
Application.DoEvents();

add reference that dll then run above Code

thanks and regards
sarva
Email through : varsaratchagan@yahoo.com


这篇关于想要将生物识别设备与vb.net连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆