Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using this on Windows Ce
Message
General information
Forum:
Visual FoxPro
Category:
VFP Compiler for .NET
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01345835
Message ID:
01346361
Views:
24
Thanks, but that's not what I'm doing. This is a wireless mobile computer running WIndows CE that needs to scan barcodes and deposit them in a VFP table. It is not hooked to any PC, because it is a PC. It sounds like what you've done is a scanner attached to a PC. I've done that too by simply using the feature of scanners that enable them to look exactly like keyboard input (which makes integrating a scanner a complete no-brainer). I've never had to use an ActiveX control or worry about communication via COM ports, but perhaps your requirements are different. Thanks again for the reply.

>I have used bar code scanners and VFP on regular windows boxes for years. I have never used any fancy API's. For me the trick has been a RS232 decoded scanner and the RS232 activeX control distributed with VFP. Plug in the scanner, setup baud, etc., open the correct COM port via the ActiveX control, scan the bar code and grab the data from the ActiveX control. Since the ActiveX control will capture data in an interrupt driven way, you have to be careful to buffer and concatenate the input until you have received all of the data. Most bar code scanners will allow you to automatically add one or two bytes to the end of the scanned data. Given that you are not likely to be scanning any carriage returns, this character works well. When you see the carriage return, you know the scan is completely captured and its time to process the data you have buffered.
>
>Stewart Crisler
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Previous
Reply
Map
View

Click here to load this message in the networking platform