Another range of products is from SilverWare which provides libraries for Foxpro 2.6 DOS, Windows and VFP. SiverWare Inc. (214)247-0131
>Hi Mike
>
> Thanks for the reply. One more favour please. From Where can I get
>commtools library.
>
>Regards
>Jayesh
>
>
>>This seems to only work in FoxPro for DOS (according to the Lang. Ref). I did get it to work in FoxPro for Dos but, I had to issue a dos mode command first and the cFileName of the FOPEN command had to be a valid DOS Name (COM1: works but com1 won't)
>>
>>.
>>.
>>.
>>!MODE COM1:,8,1,n,-
>>cSuccess = FOPEN('COM1:',10)
>>.
>>.
>>.
>>
>>When I had to use com ports with VFP I had to get a third party library (CommTools).
>>
>>
>>>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only