Jump to content
The simFlight Network Forums

Alex White

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Alex White

  1. Hello :) I have a question.. How can i write a textstrip into FS. Code: When programm connected = true then Write("XXX has connected with your FSX") i hope you understand what i mein
  2. Thank you for the effort Paul Yes i should read the manual.. best regards, alex
  3. Hello Thank you for you answer. but how i can read out Public Gear As Offset(Of Integer) = New FSUIPC.Offset(Of Integer)(&0BF0) ' gear i try &0BF0 and without & but i get always an error sry for my beginner question
  4. Hello mr. henty it works very well, thank you! Sry but i have another question: How can i read out the Gear Settings, mean if gear down = true than msgbox("GEAR DOWN") else msgbox("GEAR UP") is this possible? greets
  5. Hello At first, thank you for FSUIPC and the .net dll :) I use Vb.net I try to creat Functions in a Modul File to outsource the code. this is my first function: Public Sub connect() Try FSUIPCConnection.Open() Catch ex As Exception MsgBox("ERROR FSUIPC") End Try End Sub [/CODE] This function work very well. But the next to read out the speed: [CODE] Public Sub mess() Try FSUIPCConnection.Process("") Dim airSpeedKnots As Double = (airSpeed.Value / 128D) ' Label1.Text = airpeedKnots.ToString("f0") trspeed = airSpeed.ToString("f0") Catch ex As Exception MsgBox("ERROR") End Try End Sub [/CODE] doesen´t work i call the Function in form1 with [b]test.mess[/b]but i get only the try-catch Error (msgbox"ERROR") i imports [b]Imports FSUIPC [/b]in both files (The Modul-File and Form1) Anyone can help me?
×
×
  • 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.