Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading from COM1
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00508102
Message ID:
00508121
Views:
28
MSCOMM32.OCX (Drop an ActiveX control on a form, choose Insert control, and pick Microsoft Communication Control, version 6.0).
You may need to adjust the 'port' property, the 'settings' property (baud rate, parity, data bit, and stop bit values), the InBufferSize, etc.
Open the port:
thisform.olecontrol1.portopen=1
Use the 'Input' method to read data:
thisform.textbox1 = thisform.olecontrol1.input
Doru
Previous
Reply
Map
View

Click here to load this message in the networking platform