Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello,

What do I have to do to import FSUIPC into my VB.Net projects? I have the following code:


Imports FSUIPC

Public Class Form1
[/CODE]

and I always get a squiggly line underneath "FSUIPC" denoting a problem with my code.

I know I'm missing something, but what?

Nathan

Posted

What do I have to do to import FSUIPC into my VB.Net projects?

Sorry, I don't know what that means. FSUIPC's DLL is an FS module, it isn't a DLL which is directly accessible externally. You have to program to the interface it supports.

Have you looked at the VB example in the FSUIPC SDK? Also check out the FSUIPC Client DLL for .NET - Version 2.0 thread in the Download Links subforum. Most folks using .Net languages other than C or ASM find using Paul Henty's interface a lot easier.

Regards

Pete

Posted

Hi Pete. Thanks for the speedy response.

By "import" I mean the way I reference it in Visual Basic. I've looked at the samples in the SDK, and that doesn't even use the "imports" statement in the VB.Net example so I'm confused. I read this post: http://forum.simflight.com/topic/69100-fsuipcdll-in-vb-2010-express-net-calculating-touchdown-rate/page__view__findpost__p__430207, in whichDaan van der Spek used the Import statement, and apparently that works for him as far as connecting to FS goes.

Posted

By "import" I mean the way I reference it in Visual Basic.

Sorry, I don't know what that does. But

I read this post: http://forum.simflig...post__p__430207, in whichDaan van der Spek used the Import statement, and apparently that works for him as far as connecting to FS goes.

That thread was definitely about Paul Henty's DLL, to which I provided a reference in my previous reply. I suggest you start there!

Regards

Pete

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.