• 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.

FSUIPC and VB connect ?

Messages
11
Country
brazil
Hello.

It is possible to get latitude and longitude of the flight simulator via FSUIPC in VB, if yes someone could share the code via MP, email or right here in the forum.
I'm working on a project in excel 2013 / OS x64 so if someone has the VBA code it will save me some time.

I've tried something with the FSUIPC_SDK (UIPC_SDK_VisualBasic) files:

BitwiseOps.bas
FSUIPC.bas
General.bas

in General.bas | Debug.Print ResultText (dwResult)

I get the following information "Can not link to FSUIPC or WideClient"

Before running the code FS9 is opened with FSUIPC.dll in fs9 \ modules.

Thank you in advance for your attention.
 
FS2004?
Visual Basic (not Visual Basic.Net)? Visual Basic Script for excel 2013?
 
Hello.

Sorry if I was not so clear on the matter.

OS = Win7 x64

Excel2013 / VBA7

FS2004

The example given in FSUIPC_SDK at my view was compiled in VB6 very similar to VBA / Excel.

I'm a beginner on programming. I do not understand, but I'm studying.

I'm trying to develop an excel application for MSFS / VBA I've already got 70% of what I want, but seeing the FSUIPC_SDK documentation I've tried a few lines, but it did not work.

What I need is exactly here ( forum.simflight.com/topic/82082-fsuipc-to-excel/ ), I already contacted Richard and I'm waiting for an answer, if someone has the code in Visual Basic ( 6, 2010 etc ) or preferably in VBA / Excel I thank you.

I appreciate your attention in advance.

Rudolf
 
Back
Top