I've create form that can read data from com port. I'm using this code :
Code:
Private Sub MSComm1_OnComm()
  
  Dim strInput As String
  Dim intI As Integer
  With MSComm1
    
    'test for incoming event
    Select Case .CommEvent
      Case comEvReceive
        'display incoming event data to displaying textbox
        strInput = .Input
        Text1.Text = Text1.Text & strInput
    End Select
  
  End With
Rite now I'm trying to do something else using the same code. What I'm trying to do is when the data output from COM port is updated n I want to show it back in the same textbox. I mean replace the data with the new one. Can someone point me to something or mayb edit the code above.

PS: U can refer to my previous thread here -> http://www.vbforums.com/showthread.php?t=524024