• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Visual Basic

Messages
1,269
Country
us-northcarolina
As most of you may (or may not) know I am still in High School. This upcoming year I have "Computer Programming I" in MS Visual Basic. I was just wondering what, if any, types of applications use Visual Basic to "work with" FSX. Will learning Visual Basic be any help in making programs that would interact with FS?

I'm probably way off, but if I could get any advice it would be nice! :)
 
Pete Dowson's FSUIPC for both FS9 and FSX provide "support" for VB applications...
 
Pete Dowson's FSUIPC for both FS9 and FSX provide "support" for VB applications...

Thanks for the reply. So what are some things that could be possible using VB + FSUIPC?

(Sorry, I know these are probably pesky little questions but I'm curious :) )
 
Oh, fuel loader utilities, pax & baggage loader utilities, etc.
 
So this could be used in scenery design to do stuff like open hangar doors and turn on runway lights? :)

and btw, thanks for helping! ;)
 
I assume we are talking about VB.Net here? Visual Basic will generate applications that can do most things. Generally it is a matter of choice which programming language you use. For all practical purposes, once compiled there is no difference between a program created in VB to one created in C#. So most of the applications you see could just as well be created in VB as C# or C++. There is a long running debate as to whether 'managed code' such as that created by VB or C# creates applications that are slower or more cumbersome than those created by C/C++. This is why most time critical stuff like games (including FS) has traditionally been written using C/C++ but things like the XNA framework for creating games uses C#.

So bottom line is you can create programs like ADE, AIFP, MCX and so on using VB.
 
Last edited:
Ok that answers quite a bit for me! (I doubt I'll ever be as good as you guys though ;))

Thanks! :)

and yes, I meant VB.net ;)
 
Last edited:
Hi,

Opening hangar doors or turning on runway lights is usually not done from an external application. It would be possible, but the trouble are more on the FS side, than on the side of programming the application.
 
You can also use VB.NET with the SimConnect interface. I find it much easier than getting too it using C++, but maybe that's because I'm just used to managed code.
 
I think it depends on the interface provided.
If there are any conversations implemented then you might be free using any other language.
Talking about FS, any Language beeing part of "Visual Studio" works, BUT there are some preferences that make life easier.
At least taking that FS-SDKs into concern, most of them life from XML and are not that easily to be accessed in other ways.
OK, if your program generates that xml and then gets it compiled by any FS compiler, thats a different question.
Then you are free to use what ever language you might decide.
There are other areas in FS where you are better off in executable code programming, e.g. Gauges, my personal thinking.
What ever language you select it needs to represent the FS-demandments.
Sometimes strange to meet, these xxx.h files at least seem to implement the Cxxxxx behavior, from C, C++, C#, what ever. If you are using Visual C#, you never might have any problems, as it integrates from the point of objects or objects implementation, now not complaining about the correct wording, best into what ever MS-Code, including Silver.
 
Back
Top