FIS
-
Posts
1 -
Joined
-
Last visited
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.
FSUIPC_Write in Visual Basic
in FSUIPC Support Pete Dowson Modules
Posted
:) Gday all
Maby a little late to post ?
but was looking to get heading in Vb6 I found this works Perfect
Dim Vcount as long,MY_Heading as Single
If FSUIPC_Read(&H580&, 4, VarPtr(Vcount), dwResult) Then
If FSUIPC_Process(dwResult) Then
MY_HEADING = CSng(Vcount * 360#) / (65536# * 65536#)
End If
End If
Text1.Text = MY_HEADING