goes in the right direction:
//send data to serial port for debugging/read data at the PC
Serial.print("A,");
Serial.println(sensorValue);
Serial.print("B,");
Serial.println(speedstartValue);
Serial.print("C,");
Serial.println(speedcurveValue);
Serial.print("D,");
Serial.println(brakeValue);
Serial.print("E,");
Serial.println(brakecurveValue);
Serial.print("F,");
Serial.println(sensorMin);
Serial.print("G,");
Serial.println(sensorMax);
Serial.print("H,");
Serial.println(modelName);
this generates something like
A,100
B,120
C,130
etc
Your VB application recognizes the char and map this to the right text field.
Something like this is needed to parse (VB is too long ago)
intPos = InStr(strBuffer, vbCrLf)
If intPos <> 0 Then
Dim C as Char
Dim Value as String
C = strBuffer[0]; 'or is it 1 in VB?
Value = Right$(strBuffer, 2) 'skip the separator
Select Case(C)
case A: TextSensorValue.Text = Value
case B: ... etc
End Select
EndIf