I have a VB app that gets telephone call information from a comms port using Gport.input. This is then printed to a file and also displayed in a textbox, but the problem is that there seems to be some characters are being supressed from the textbox. For example in the file it might say the following:
N 116 00 A110 001 7205 01/06 16:56:53 00:05:08 .0
&1234645500XXXXXX 556784X 000 000
& 000 01 2
but in the textbox it will only show this:
N 116 00 A110 01/06 16:56:53 00:05:08 000 01 2
the vb code is as follows:
buf$ = GPort.Input
If Len(buf$) Then
FileOpen
Print #clfn, buf$;
txtDataView.Text = txtDataView.Text & buf$
txtDataView.SetFocus
txtDataView.SelStart = Len(txtDataView.Text)
End If
Any ideas?
N 116 00 A110 001 7205 01/06 16:56:53 00:05:08 .0
&1234645500XXXXXX 556784X 000 000
& 000 01 2
but in the textbox it will only show this:
N 116 00 A110 01/06 16:56:53 00:05:08 000 01 2
the vb code is as follows:
buf$ = GPort.Input
If Len(buf$) Then
FileOpen
Print #clfn, buf$;
txtDataView.Text = txtDataView.Text & buf$
txtDataView.SetFocus
txtDataView.SelStart = Len(txtDataView.Text)
End If
Any ideas?