>How can Foxpro retrieve information from the serial port buffer. We have a cable plugged into the serial port of a computer and want to get to the data coming in from the serial port.
>
>Can you use fgets?
Not with VFP. Try using the MSCOMM32 control that comes with VFP. Incoming data triggers the OnComm event of the control and you can read the data using the Input property. Check out the MSCOMM control help file, COMM98.CHM, for more details.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao