Use visual basic 2008
Form1 with a text box (ScanArtikelBarcode.txt )on it
barcode scanner
I use now this code to read a barcode

 Private Sub ScanArtikelBarcode_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles ScanArtikelBarcode.KeyDown
        ' This way I collected the scanned barcode and process it against my table and the cursor is always in the cleared textbox ready for the next scan.
        Dim UniekArtNummer As Integer
        If Len(Trim(ScanArtikelBarcode.Text)) = 10 Then
            If e.KeyValue = Keys.Enter Or e.KeyCode = Keys.Return Then
             'search for barcode number  MysSQL database table

But my problem is, after 5 scan's and reading barcode the program get verry slow, So slow the numbers of the barcode one by one on the screen appears.

Is there another way (function or event) to read the barcode ?

previsously thanks,

andre

This question has already been answered. Start a new discussion instead.