Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help on FOPEN()
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00103909
Message ID:
00104277
Views:
31
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
- Jayesh
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform