Jump to content
The simFlight Network Forums

lancaster123

new Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling
  • Location
    uk

lancaster123's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. 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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.