Click here to Skip to main content
13,794,213 members
Rate this:
 
Please Sign up or sign in to vote.
See more:
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.
Posted 22-Jun-11 23:11pm
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

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]
  Permalink  
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

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
  Permalink  
Comments
Dave Kreskowiak 12-Jun-12 13:28pm
   
You know you're answering to a post that's a year old, right??

and any code that uses Application.DoEvents() is absolute crap, right??

Also, don't post you're email in a public forum. The only people who give a turd are spammers.
Sarrrva 25-Jul-12 6:05am
   
i agree with you Dave..
:-) :-) :-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.181207.3 | Last Updated 12 Jun 2012
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100