Information générale
Catégorie:
Contrôles ActiveX
>I am placing chars into a textbox one at a time from an MS communications
>control.
>
>private sub MSComm1.oncomm()
> Text1.text=Text1.text + MSComm1.input
>end sub
>
>When chr(13) and chr(10) come in instead of doing a CRLF I get a "bar"
>character indicating a non-displayable character. Why doesn't vb
>just do the carriage return and linefeed move the next line
>down to the next line?
I thought this was because the LF is automatic added to the CR when it comes in.
What you can do avout that is removing the LF part of the string, so only let the CR pass.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement