Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending data to com-port without ocx
Message
From
19/03/2017 09:47:08
 
 
To
19/03/2017 08:37:43
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
01649157
Message ID:
01649177
Views:
53
>>>Hi there,
>>>
>>>I want to send data through the com-port to a customer-display.
>>>I know that I can use mscoom.ocx or something similar but as I am trying
>>>to avoid using controls I was wondering if there is a win-api I could use directly?
>>>
>>>Thanks in advance
>>>
>>>Thomas
>>
>>This may be old school, but
>>
>>COPY file TO COM1:
>>
>>if I recall from the foxbase days.
>
>Then avoid disk access altogether and strtofile(lcString, "COM1:"). Worth a try.

I guess one could use the Low-level file functions too. FOpen("COM1:")
Greg Reichert
Previous
Reply
Map
View

Click here to load this message in the networking platform