Hello, i want to receive data from pic, for example when pic sends 97 i see "a" character in label1, vb shows me ascii character value of my data, all i want to do is when 97 comes from PIC i want to see 97 in label1, i just want to see real value of data in vb, i use vb6.0, my codes are like this
Private Sub Form_Load()
MSComm1.PortOpen = True
End Sub
Private Sub MSComm1_OnComm()
Dim a As String
MSComm1.RThreshold = 1
a = MSComm1.Input
Label1.Caption = a
End Sub
i tried to use asc function, i tried mscomm1.inputmode binary, i tried everything but it doesnt work
Private Sub Form_Load()
MSComm1.PortOpen = True
End Sub
Private Sub MSComm1_OnComm()
Dim a As String
MSComm1.RThreshold = 1
a = MSComm1.Input
Label1.Caption = a
End Sub
i tried to use asc function, i tried mscomm1.inputmode binary, i tried everything but it doesnt work