Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSCOMM#@
Message
De
18/04/1998 04:23:35
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00090997
Message ID:
00093142
Vues:
26
The help file for MSCOMM32 came is from VB not VFP.

I managed to send the Chr(0) and Chr(13) using MSCOMM32. The sample code are as below:

#DEFINE MT chr(13)+chr(10)

lcStringSend=chr(10)+lcBuf+MT
THISFORM.oleComm1.Output = chr(0)
THISFORM.oleComm1.Output = lcStringSend

Hope can help.


>I need some information pronto. How do you get MSCOMM32 to treansmit a carriage return ( chr(13) in the
> ASCII code). Every line you send to mscomm32 ends with a carriage return and a line feed. These seem to be
> eaten by the OCX and do not get out. I need to 0ommuncarte with a compnay that requjires that the first
> character transmited is a carriage a carriate return.
>
> The help file for MSCOMM323 is missing from my copy of Visual FoxPro 5.0.
>
> Kenn Leland
Lim Boon Eam
limbe@pc.jaring.my
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform