USB Scanner to pop up application

Hi Guys, I've got an Access database installed on a laptop that uses a usb barcode scanner for locating member records off a membership card. The laptop often has several programmes running at the same time, whenever a barcode is scanned I'd like windows to automatically move the focus to the membership window and then display the member record. At the moment I have to manually select the Access window before scanning the card. Is there a windows setting that can make this happen?

Thanks in advance.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

There is nothing in Windows that will do this by default.

The scanner essentially acts like a keyboard.

What you can do is use a program (like AutoHotKey, or any other macro program) and keep it running in the background.  The program would be set to activate on some keys like "Alt-Ctrl-M".  Whenever this keystroke is entered, the program would activate.  All that the program would do is make Access the active program and then go back to sleep.

You will need to modify the barcode so that it sends this "Alt-Ctrl-M" before the actual barcode.

You may also need some sort of delay between the "Alt-Ctrl-M" and the actual code that identifies the member, since it will take at least a few milliseconds to switch to Access.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dataflowjoeAuthor Commented:
Thanks, that helped
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.