Quote:
I am not able able identify last character.
Probably because most barcodes are variable length, you have to know what barcode you are reading.
Quote:
now it working with text changed event.
Hope you don't use the scanner as keyboard entry, it is the worst thing to do because cursor wrong position is enough to mess the input.
Usual usage is to configure the barcode as serial communication and have your code handling that part without messing with GUI. And one send the barcode to GUI only once you know it is complete.
Quote:
Can anyone help me with sample code
The maker of scanner should have some sample code