Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Serial port
Message
From
18/09/2002 05:35:49
 
 
To
17/09/2002 14:14:24
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00701091
Message ID:
00701673
Views:
25
Hi,

Help for the MSCOMM control can be found in COMM98.CHM

Essentially you need to set up and open the relevant port e.g:
MSCOMM.Settings = "9600,N,8,1"
MSCOMM.CommPort = 1
MSCOMM.ImputLen = 0
MSCOMM.PortOpen = .T.
and then either poll the input or put code in the OnComm() event to handle incoming data (I favour using the OnComm() approach). There are VB examples in the help file.

HTH,
Viv
Previous
Reply
Map
View

Click here to load this message in the networking platform