Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Barcode use help needed
Message
De
23/04/2007 12:20:58
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
 
À
23/04/2007 08:47:00
Reza Meamar
Homa Programming Group
Shiraz, Iran
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Divers
Thread ID:
01218807
Message ID:
01218967
Vues:
16
>>>>>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
>
>no effect
>only my keyboard and mouse are locked. i must only restart my system.
>why?

Dear Tore,
I changed my reader and now all thing is ok.
I have another question.
I have a textbox on my form, in this textbox user can enter goods code and take some information about it. when i use from Barcode Reader, because it send a CHR(13) code, i lost the focus from my textbox. if i delete chr(13) as you say, how i can enter the goods code in usual mode( without reader ) ?
thanks for your help
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform