I am currently using the TextChanged event of a textbox which fires after a user scans a barcode into it.

The problem is that if the user scans 10 characters into it it fires 10 times.

There are times when I want after lets say 4 characters to clear the entry to present the user with a blank textbox. If after the the 4th fireing of the event I use textbox.text = "" it will only remove the first 4 characters and leave the remaining 6.

Any Ideas ?
Man am I stressed today :-(