>>>Dear All,
>>>I have a HandHeld BarCode reader . it is connected to my computer throgh keyboard port.
>>>How i can read data returned from this device?
>>>thanks
>>
>>In your case the barcode reader is a keyboard! Just start to read barcodes!
>
>i made a form with one textbox on it. when i read barcode it cuse hanging my computer!
A barcode reader will as default add a chr(13), which means that if you are in a textbox, the cursor will move to the next taborder object. You may change the behavior of the reader, or "eat" the chr(13) by adding this to your keypress:
if nkeycode=13
nodefault
endif