Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert CRLF into textbox
Message
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00463102
Message ID:
00463230
Views:
18
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform