I've created a application to scan barcodes on a Datalogic Elf Mobile Scanner.
Using vb.net 2008 pro
When I scan a barcode allways the same function is called. From that function I want to know which form is active or also good is to know which input control is active at the time of scanning.
The application has two input forms where they scan from, both forms are possibly opened but only one is active.
Depending on which is active I can do some logic on it.
if form A is active put scanned barcode string into form1.txtinputbox1.text
if form B is active put scanned barcode string into form2.txtinputbox1.text