Question

I am trying to build an Attendence software where in user swaps the card and his attendence is marked. Right now I am opening a WINFORM and take card's number on a textbox and save it, and its works fine. But according to client user will not open any WINFORM or anything. He/She comes and swipes the card and it should mark his/hers attendence. So is there any way I can take card's data and save it. My DB is SQL SERVER 2012.

EDITED:
How ever right now I am taking cards number on a textbox and on textchange event I save it. But for that one has to open an application everytime, and thats what is not needed as maximum employees whose attendance will be marked are least tech-savvy. SO max they can do its just swipe the card. And for that I need assistance. I have googled and found out about API. Can building an API would solve the problem.

Was it helpful?

Solution

You may or may not be running the right card of card scanner. I.e., if your card scanner just simulates keystrokes, you really need some kind of "app" to to be the context of those keystrokes.

If you have the right kind of scanner, there will be an API that will be appropriate for using without an "active app" to capture the keystrokes.

If you are stuck with using the keystroke based reader, probably about all you can do is what you are doing now, but make your app "invisible" to the user, e.g., 0% opacity, etc. but if the user can manipulate the machine to close you invisible app, etc. you will be in a losing battle.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top