Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with MSComm control
Message
De
07/06/2001 09:25:44
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00515479
Message ID:
00516281
Vues:
17
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform