The scanner should send an end character of some kind, like a LF or CR. To see what your scanner is sending, create a VB
exe, put two text boxes on it.
Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer)
Run it and put the focus in the first text box. Scan an item. The Debug window will show the ascii characters received. The end character is the last one, probably = 10 or 13.
The reason for two text boxes is in case the last char is 9 - a tab. In that case, the second text box will have the focus once the scan is finished.
- Matt H