Am working with a microcontroller to interface it with vb6 am getting junk values in text box while am getting correct values n simulator
my code is


Code:
Private Sub Command1_Click()
If (MSComm1.PortOpen = False) Then
MSComm1.PortOpen = True
End If
Command1.Enabled = False
Command2.Enabled = True
End Sub

Private Sub Command2_Click()
If (MSComm1.PortOpen = True) Then
...