Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

fredflyer

Members
  • Joined

  • Last visited

  1. hi again !i'm happy today because i succeeded to make my program work !how ? well, keeping on reading, thinking and trying things, i understood i was doing wrong. Event programming is not as difficult as i thought, but as different as i used to practice. So i left the loop programming away and used the event OnRecvSimobjectData with parameters SIMCONNECT_PERIOD.SIM_FRAME for the period and SIMCONNECT_DATA_REQUEST_FLAG.CHANGED for the data request flag. Then i included the things i wanted to do when this event received the massage.In fact it's a new way of thinking but easy to understand and use when you've found itThank's for your help
  2. Thank you for your answer Pete...i'm sure i haven't understand the philosophy of VB.net programming and simconnect workings...well, in a do...while loop i call the simconnect function as i can do thru a button...but even after the button click i have the result in a textfield of my form because the event is fired in simconnect (for example, the gear position which varie from 0 to 1 when the gear toggle is fired), i have not the same result in my loop....it seems that i have the result only when the control which have the loop ends...it's very amazing for me and very new to program in VB.net and also with events...Where can i find good tutorials to understand how simconnect works ?i've read the tutorials from NotASenator at http://www.notasenator.com/blog/ and i'm waiting for the following lessons...
  3. Hi !i have the same problem polling informations from FSX, regarding gear position.I did a loop calling the function onrecvsimobjectdata or something like that...but there are no result at all...i can get the information clicking regularly a button calling the function and displaying the information, but not in a while loop...why it doesn't work ?are there any examples or tutorial in VB.net to understand how it really works ?thank's for your helpFred

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.