Hi All
I have a pocket pc with a barcode scanner, I've coded a test application (vb6) to read barcodes.
It's a form with a textbox, a button and an MsFlexGrid (to display the read barcodes). I set the focus in the textbox, once I read the barcode I have it displayed in the textbox then I can save it to my database (MS Access 2000).
But sometimes, I do save the wrong barcode (Keying Error).
To avoid this, I thought that maybe if I can read the buffer of the keyboard with VB6 after reading the barcode, I'll save the right one.
So, my question is: How to raed the keyboard buffer with VB6.
Many thanks in advance.
Lavida
-------------------------------
Great Starts Make Great Finishes
-------------------------------
I have a pocket pc with a barcode scanner, I've coded a test application (vb6) to read barcodes.
It's a form with a textbox, a button and an MsFlexGrid (to display the read barcodes). I set the focus in the textbox, once I read the barcode I have it displayed in the textbox then I can save it to my database (MS Access 2000).
But sometimes, I do save the wrong barcode (Keying Error).
To avoid this, I thought that maybe if I can read the buffer of the keyboard with VB6 after reading the barcode, I'll save the right one.
So, my question is: How to raed the keyboard buffer with VB6.
Many thanks in advance.
Lavida
-------------------------------
Great Starts Make Great Finishes
-------------------------------