I did something in VB 2008 the other day that read bytes from the USB and did some work on them. The following is a cut down snippet.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[glow]c = SerialPort1.ReadByte()[/glow]
Private Sub Form1_Disposed(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Disposed
If SerialPort1.IsOpen() Then
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
SerialPort1.PortName = "Com33" ' use your COM # here
SerialPort1.Open() ' defaults to 9600, change in the properties?
Assumes a serial object has been dropped onto the form.
Put the code to parse the incoming string where the highlighed part is.
As for the Arduino code, there’s no point sending formatting strings, just send the data
Then as already mentioned use Mid() to extract the data.