Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS Comm experts
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00614817
Message ID:
00614859
Views:
23
It is. The issue, like I said, is that if the user scans a code 39 bar code the length could be either 21 or 24 characters. If the user user scans a 2D bar code then the length could be as big as 185 characters. So, I changed the RThreshold value to 185.

>Check to make sure your RThreshold property of the Comm control is set to something > 0.
>
>>Thanks!!! I took your code and put it in the OnComm Event method and tried to scan a bar code. I changed the comments to wait windows so I see what the values are returning. Every time I scanned the bar code it came back with commevent = 3 (Change in the CTS line.). It never returns a commevent = 2.
>>
>>I am adding the input value to a form property and then parse the data left of a chr(13).
>>
>>Any ideas?
>>
DLC
"Use the Right Tool for the Job!"
davidandcynthia@email.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform