Hi Guys
Im trying to make a application in vb.net using the dll
im using this code out of the user guide:
Dim playerLatitude As Offset(Of Long) = New Offset(Of Long)(&H560)
Dim playerLongitude As Offset(Of Long) = New Offset(Of Long)(&H568)
Private Sub DisplayCurrentPosition()
' Create new instances of FsLongitude and FsLatitude using the
' raw 8-Byte data from the FSUIPC Offsets
FSUIPCConnection.Process()
Dim lon As FsLongitude = New FsLongitude(playerLongitude.Value)
Dim lat As FsLatitude = New FsLatitude(playerLatitude.Value)
' Use the ToString() method to output in human readable form:
Me.txtLatitude.Text = lat.ToString()
Me.txtLongitude.Text = lon.ToString()
End Sub
and its working fine but I wondered if there was a way to display decimal degrees in the lat lon text boxes instead of converting them to DMS?
Many Thanks
Scott