Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSCOMM#@
Message
From
18/04/1998 04:23:35
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00090997
Message ID:
00093142
Views:
25
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
Previous
Reply
Map
View

Click here to load this message in the networking platform