Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Barcode use help needed
Message
From
23/04/2007 07:54:09
 
 
To
23/04/2007 07:50:36
Reza Meamar
Homa Programming Group
Shiraz, Iran
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01218807
Message ID:
01218813
Views:
17
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform