yes, they must have written their own serial port listener (it's quite easy to do)
prepare the port in form load:
Code:
' Use COM1.
MSComm1.CommPort = 1
' 19200 baud, no parity, 8 data, and 1 stop bit.
MSComm1.Settings = "19200,N,8,1"
' Tell the control to read entire buffer when Input
' is used.
MSComm1.InputLen = 0
' Open the port.
MSComm1.PortOpen = True
then you need to listen.. the code here is triggered when the com port receives data. this code will also parse the nmea for lat and long(i cant remember which spec i am parsing here. NMEA1 or something):
Code:
Private Sub MSComm1_OnComm()
Dim instring As String
Dim lat As String
Dim lng As String
Dim i As Integer
instring = MSComm1.Input
i = InStr(instring, "GPGLL")
Do While Len(instring) - i < 26
instring = instring & MSComm1.Input
Loop
lat = Mid(instring, i + 6, 9)
lng = Mid(instring, i + 16, 10)
Text1.Text = lat
Text1.Text = Text1.Text & " -- " & lng
End Sub