>Hi All,
>
> I want to know how can i open/read com port using FOPEN()
>when i tried FOPEN('com1',10) it returns -1 and FERROR() returns
>5 (file access denied). Please put some sample code if possible.
>
>Thanks in advance
>
>Jayesh
Jayesh, use the MSCOMM32.OCX which comes with VFP. Look in the Files section here, I think there is a file with suggestions on how to use it. There are also several KnowledgeBase articles on the Microsoft web site which will help. Just search on MSCOMM32
HTH
Barbara