Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working Sample Code of Capturing Data from Com Ports
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Working Sample Code of Capturing Data from Com Ports
Miscellaneous
Thread ID:
01032942
Message ID:
01032942
Views:
84
Hi All,

Is there anybody who have a working code in capturing data input to com ports? I need help on this matter please, I had tried this code below and need to display the captured output to a listbox or grid then parse the data and save into a table but got an error.
IF Thisform.MyCom.InBufferCount > 0
    Thisform.mybuffer = Thisform.mybuffer + Thisform.MyCom.Input
    ENDIF
ENDPROC
The sample is code from MS KB using MSCOMM32.OCX
Any help please?
Jojo R. dela Cuesta, B.Sc.
eConsultant, Programmer
Dalplus Technologies
http://www.dalplus.com
Next
Reply
Map
View

Click here to load this message in the networking platform