Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to read string from serial port for bar code app
Message
From
03/05/2002 09:59:03
Patrick O'Neil
American Specialty Information Services
Roanoke, Indiana, United States
 
 
To
02/05/2002 15:41:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00651375
Message ID:
00652374
Views:
21
Jim -
i'm not sure, but i think we are agreeing here :)
it sounded like he _would_ have a form, since he mentioned a
textbox. on each received character, i'd append the just-
received character to a form-level buffer. when the received
character is the delimiter, assign
THISFORM.txt_My_Text_Box.VALUE = ALLTRIM(THISFORM.str_My_Buffer)
in the txt_My_Text_Box.ProgrammaticChange event deal with
the data as necessary (which is likely to be the bulk of code).
that's about as minimal as you can get in the OnComm event.

i didn't realize the events fired differently whether or not
it was on a form. does that mean the DLL and the OCX are
implemented slightly differently ?
patrick
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform