Thread: serial i/o
View Single Post
  #2 (permalink)  
Old 07-24-2007, 02:48 PM
Erel's Avatar
Erel Erel is online now
Administrator
 
Join Date: Apr 2007
Posts: 3,143
Default

The carriage return on the textbox control is actually Chr(13) & Chr(10) (or the other way around).
You should use the CRLF contant instead:
if serial.PortOpen = true then TextBox1.Text = StrToUpper (TextBox1.Text & serial.InputString & CRLF)
BTW, did you set TextBox1.MultiLine = True ?
Reply With Quote