**QUOTE**
Hi All!
Would anyone know how or what am i going to do if i'm going to interface the barcode scanner to my visual foxpro application? Are there any ActiveX that i need to use to run a certain function?
Furthermore, are there set of codes that i'm going to use for reading or for capturing the bar code number? I'm using a CCD Barcode Scanner by the way.
Can anybody do me a favor on this? Please help... Thank you! HAVE A GOOD DAY.-----------------------------------------------------------------------------
Hi Alfred,
Is it a serial barcode scanner or keyboardwedge?
There is not much you do on the coding when scanning/capturing barcode. But if you going to generate barcode numbers, you must have a function to check digits, using modulos operator or MOD().
Example: If your using the scanner for POS application and you have a text box for barcode number inputs or on a grids column text box, you can store a captured value to variable.
Let say you have stored a scanned barcode numbers to a variable
cBarcode.
On my application, I put on the valid procedure on a text box then use the seek() function to search the desired records.
If seek(cBarcode)
* then do something
else
* alert user
Endif
Maybe you can post here what you want to do to your app when interfacing your app with a barcode scanner.