Hi Viv,
I was using MSCOMM the other day and "PortOpen=.F." was giving a type mismatch (I know it shouldn't). I switched to "PortOpen=0" and all was well. VFP8 SP1 W2K SP4
>Hi,
>
>>Is there a sample code or article on how to close an open port? TIA
>
>Are you referring to a serial port using MSCOMM? If so ".PortOpen=.F." should be all you need; if not pls elaborate...
>
>Regards,
>Viv
Regards,
Mike
"We try to solve the problem by rushing through the design process so that enough time is left at the end to uncover the errors that were made because we rushed through the design process."
- Glenford Myers
If you're going through hell, keep going. - Walt Disney