Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hey Team,

 

I downloaded the example code project however found that it will not connect to MSFS. I tested it with P3D V5 and seems to work fine. I then downloaded the MSFSVariableService project and was able to successfully connect to MSFS and read/write.

 

I am wanting to read information such as IAS, HDG, ALT, etc from MSFS and display it in my own VB.NET application, any ideas on why I cant connect using the original Example project?

Posted
Quote

 any ideas on why I cant connect using the original Example project?

It's usually because of a mismatch between the application (or Visual Studio if you are debugging) and the sim running 'as administrator'. Either both have to be running 'As admin' or neither. If one is admin and the other is not it will not connect.

Note that this is only for FSUIPC programs. The MSFSVariableServices doesn't use FSUIPC so this rule doesn't apply for that. 

If that doesn't fix it, please give more details like the exception that is thrown.

Paul

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.