Jump to content
The simFlight Network Forums


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About l0calhost

  • Rank
  • Birthday 01/01/1970

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello Paul thank you for your reply. I change this to get it working Dim lat As Double = Double.Parse(currentRow(2)) Dim lon As Double = Double.Parse(currentRow(3)) to this Dim lat As Double = Double.Parse(currentRow(2), CultureInfo.InvariantCulture) Dim lon As Double = Double.Parse(currentRow(3), CultureInfo.InvariantCulture) and now its working perfect, just what i need. Thank you for your time and help i appreciate. Helder
  2. Hello Paul, i'm trying this code but in vb.net and only show icao from p3d v4. From fs9/fsx sp2/p3d v3.4 is not showing. Is there another workaround to show on all simulators? Didnt find anything. Can you help me with a function to get nearest airport(s) in X miles range with makerunways files like airports.fsm? Thank you
  3. I think that's it, made the same tests as before and now seems to be working, changed between some gates and all show the correct gate. I apreciate your help, thank you very much and have a nice year. Helder Duarte
  4. I think is better to report always in the correct gate when i park instead the closest one. The g5.csv have the gate radius in meters. Something like, if airplane is inside gate "radius" show gate. Thank you Paul
  5. Hello Paul, this is my current code Public Function getgate(ByVal icaocode As String) As String Using MyReader As New FileIO.TextFieldParser(Form1.fullFSpath.Value & "g5.csv") MyReader.TextFieldType = FileIO.FieldType.Delimited MyReader.SetDelimiters(",") Dim gatename As String Dim gatenumber As String Dim gatereturn As String Dim currentRow As String() Dim smallestDifference As Double = 0 While Not MyReader.EndOfData Try currentRow = My
  6. Hello thank you for your reply. Yes i have the plane lat/lon and all gates lat/lon from g5.csv where gate = icao. I'm stuck from here. I try using the distance function and sometimes don't show the result, or the correct result and sometimes show the correct result. Dim distance As Double = distance(acLat, acLon, gateLat, gateLon, "M") If distance = smallestDifference Then smallestDifference = distance ..... I'm not a pro coder, i think is not the correct code to calculate the current gate! Thank you
  7. Hello Paul Henty, i'm using your FSUIPCClient DLL V3 and is working good. I have added the Makerwys with a function getrunway copied from here and is working too. Now i need to find how to detect the gate where the plane is, tried like function getrunway but no success. Can you help me and post a function or some code to detect gate? I apreciate. Sorry my english Thank you
  • 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.