Yes and maybe there are other things that can be validated (other than the length) at the same time.
>Hi,
>
>Einars suggestion sounds good. But you could also just check the number of characters present in the TextChanged event and only react when the expected number are present.
>
>>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
Semper ubi sub ubi.