>>I have a barcode scanner with a built in decoder, plugged into Com1.
>>
>>I'm trying to read the barcode that was swiped, and enter the contents into a textbox on a form. I can not get the OnComm event to fire.
>>
>
>
>Are you binding to the control with VFPCOM? Otherwise, how do you know that the event is not firing?
>
>BTW- I have found wedge-type scanners to be much easier to work with...
I agree here 1000% - the wedge scanner, which ats as if the data had simply been typed into a field, is much easier to use - no special code needed to access it. that's what we use at Weatherhill for our in-house apps (both the PB Ascent software for our shipping station, and our own code for processing returns. We use a hand-held CE device to collect data in the warehouse, and then dump the stuff back into a data file that VFP processes after the fact for doing inventories and the like.)