i have question about connecting barcode scanner to vb6
how to connecting barcode scanner to vb6...
i use usb barcode scanner...
did i must set port or some code in vb6..???
or it works automatically..???
i need some code reference plsss...
It all depends on what scanner you have, what it will be used for etc.... Have a look at these few links, might help with what you need. ... , ... or ... . It seems that you will either have to reference to the drivers or it will be linked to your keyboard automatically, all depends on what you have.
Are you sure this is the correct approach, the barcode scanners I have used present the data as if it had been typed on the keyboard. ie. you set focus to a text box, scan the barcode and the barcode appears in the text box followed by a CR.
If you want to process the barcode you put some code in the LostFocus event of the text box.