No.I am sure port is openHowever, in this case, could it possibly be that it says "port closed" ??
Private Sub Button1_Click_1(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim bfx(255) As Byte
Try
port.Write(TextBox2.Text & vbCr)
TextBox1.Text = port.Read(bfx, 1, port.BytesToRead)
Catch ex1 As Exception
MsgBox(ex1.Message)
End Try
End Sub
TextBox1.Text = System.Text.Encoding.UTF8.GetString(bfx)
In your case, the easiest and most convenient way to handle it is through the System.Text.Encoding class....
TextBox1.Text = System.Text.Encoding.UTF8.GetString(bfx)