I like to write a simple program that reads the barcode, and also notes the barcode, as well as the time it was scanned. Unfortunately, I cannot guarantee that the program will have focus when checking the code. I understand that most barcode scanners act like a keyboard, so if the program has no focus, I will have problems. What are the ways to deal with this? Note. The identifier prefers to code this in Java, but I can use .net if the libraries simplify it. I also do not have a special scanner, so if one model works better for this, this information will be appreciated. Ive sceen this question , but suggests that the application has focus.
Jared
source share