Jump to content
The simFlight Network Forums

N402KC

Members
  • Posts

    4
  • Joined

  • Last visited

N402KC's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, As another feature, I want to create a tool that will get the fuel from the plane, and display the values on a Trackbar. Ive got that done. Now, I want the user to be able to modify the track bar to put how much fuel they want into the plane. So once the user has moved the track bar to the amount of fuel they want in the plane, They press a button that loads the fuel. Anyone know how to do this? Please show examples in either Visual Basic or C#. Thanks
  2. Thanks A Ton. I just noticed the Decimal Format. Now once i submit the info to google maps, it points right on target. BOOYAH, Thanks!
  3. http://i48.tinypic.com/j8yvfc.png Those are a preview of what i get with that exact code.
  4. Hi, As i am integrating the LON/LAT Feature, I have it so its returning in the correct format, But the actual numbers are off a bit. Here is the code; Dim latitude As Offset(Of Long) = New FSUIPC.Offset(Of Long)(&H560) Dim longitude As Offset(Of Long) = New FSUIPC.Offset(Of Long)(&H568) Dim Long1 As Double Long1 = longitude.Value * 360 / (65536D * 65536D * 65536D * 65536D) Me.Label28.Text = Long1.ToString("#,##0.000000") Dim Lat1 As Double Lat1 = latitude.Value * 90 / (10001750D * 65536D * 65536D) Me.Label29.Text = Lat1.ToString("#,##0.000000") Please let me know if I am doing anything wrong.
×
×
  • 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.