Topic: USB BARCODE SCANNER

HELLO WIZARDS and ENGINEERS of MVD!

Pls. help me in coding to used the USB BARCODE SCANNER in my sample project.

Thank You!

Re: USB BARCODE SCANNER

Hi,
Usually the usb barcode scanners are recognised as keyboards (or have a keyboard driver). In this case, the only thing you have to do is to create a form with an edit field. It must have the focus when you scan (Form1.Edit1.SetFocus in the Form1_OnShow event). Sometime the scanner use a special character before sending the barcode value. You can test it using OnKeyDown event on the form and all its components to set focus on the appropriate edit field. You can use the same procedure for all the OnShow properties.
Kind regards,
jihem

while(! success=retry());
https://jihem.itch.io

Re: USB BARCODE SCANNER

Hello Manixs2013

An example
Without scanner : you enter barcode and you can print it as a usual barcode).

JB

Post's attachments

Attachment icon BARCODE_fixed.zip 5.95 kb, 465 downloads since 2018-02-16 

Re: USB BARCODE SCANNER

Thank you!

Re: USB BARCODE SCANNER

blackpearl8534 wrote:

Project is not opening in 4.2 ver

Fixed:

Post's attachments

Attachment icon BARCODE_fixed.zip 5.95 kb, 501 downloads since 2018-02-16 

Dmitry.