Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with MSComm control
Message
From
07/06/2001 09:25:44
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00515479
Message ID:
00516281
Views:
16
>>Hello,
>> Wondering if anyone can explain this to me. I'm using the MSComm control to open Com1. I can send and receive everything I need except this:
>>
CHR( 01 ) + CHR( 65 ) + CHR( 13 )
>>(which is an F2 on a Wyse terminal).
>>It doesn't work at all, but if I open Com1 with FOpen and FWrite the same data down the wire, I get the desired result. Anybody got any ideas? Thanks,
>>John
>
>
>More info:
> Okay, with the MSComm control, it sends the data, but it must be changing something. Basically, an F2 on Wyse 50 emulation will refresh the screen we are working with. If I send it using low level manipulation, it refreshes the screen, but if I send it using the MSComm control, it just prints the control characters on the string. Can anyone offer any help on this? Thanks again,
>John

I haven't tried this, but the MSCOMM help says that to pass control strings you need to pass binary data - the data you've created is a string, which can be converted to binary using the CREATEBINARY function.
Len Speed
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform