>I am tasked with developing an app that scans in barcodes.
>
>I placed a textbox on a form and put
>
>
>MessageBox.Show(textBox1.Text);
>
>
>in the textBox1.TextChanged event. When I scan, as soon as the first number enters the textbox, the even fires. How do I scan in the whole barcode?
>
>Thanks
Some barcode scanners allow you to customize a character to be sent after the scan is completed. I have used the enter character or tab character. This will cause the textbox to loose focus and you can then trap for the Leave event.
Einar
Semper ubi sub ubi.