VB Newbie system.threading.timer
Posted on 2011-02-11
I'm trying to write a VB program to read a "card reader". A person swipes their security badge and it shows the ID number of the badge.
I have the API from the manufacture, I have a button in my app that says read the reader, and it works.
Now I want to not have to hit the button on the app, I want it to continually check the status of the reader and display their ID as they swipe.
I am struggling if this should be a loop or a timer, looks like timer is best. I just can’t figure out the very basics of the timer calling my sub.
Any help would be appreciated.