Hi guys. I was curious if you could help me with a program I'm trying to create.

I am creating a barcode scanning application. The barcodes contain a serial number and a quantity. What I want to do is be able to scan in a barcode using the scanner, and then have code that automatically runs and separates the serial number from the quantity and then throws it into a listbox.

The code to separate serial and quantity and put them into a listbox is already created, but what I cant figure out is how do I detect that a barcode has been scanned? I want this to be done without any input from the keyboard, and the scanner works like any other standard input device. I'm just not sure how to get my program to recognize a scan has occured and then automatically take the scanned data and do something with it.

Are there methods built in to Visual Basic.net that could help me with this, or am I going to need code from an outside source? I checked the scanner software to see if there was any sort of API with it, but couldn't find anything. I appreciate any help I can get on this. This is definitely a learning experience. Thanks!