VB Code:
Private Sub cbGPSSentence_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cbGPSSentence.SelectedIndexChanged
Select Case cbGPSSentence.Text
Case Is = "$GPGGA"
tcResponse.SelectedIndex = cbGPSSentence.SelectedIndex
Case Is = "$GPGLL"
tcResponse.SelectedIndex = cbGPSSentence.SelectedIndex
Case Is = "$GPGSA"
tcResponse.SelectedIndex = cbGPSSentence.SelectedIndex
Case Is = "$GPGSV"
tcResponse.SelectedIndex = cbGPSSentence.SelectedIndex
Case Is = "$GPRMC"
tcResponse.SelectedIndex = cbGPSSentence.SelectedIndex
End Select
End Sub
Have tried a few variations aswell.