-
FlexPro
- Auf einen Blick
- Features & Optionen
- Einsatzgebiete
- Alle Vorteile
- Neu in FlexPro 2021
- FlexPro gratis testen
- FlexPro View OEM Freeware
- Kaufberatung
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Produkte
- News
- Support
- Unternehmen
- Jobs
- Kontakt
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
How to call Flexpro in visual basic 2013?
Home > Community > Automation and VBA > How to call Flexpro in visual basic 2013?
- Dieses Thema hat 2 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 9 Jahren, 11 Monaten von Anonym aktualisiert.
-
AutorBeiträge
-
November 27, 2014 um 10:11 pm Uhr #12869AnonymGast
I try to call Flexpro in visual basic 2013. Can anyone tell me how to do that? For example, How to make a new database? I have already add the Reference, is there any code like the calling matlab functions from VB.net?
e.g.
Dim MatLab As Object
MatLab = CreateObject(“Matlab.Application”)
Result = MatLab.Execute(“surf(peaks)”)November 27, 2014 um 10:11 pm Uhr #8529AnonymGastI try to call Flexpro in visual basic 2013. Can anyone tell me how to do that? For example, How to make a new database? I have already add the Reference, is there any code like the calling matlab functions from VB.net?
e.g.
Dim MatLab As Object
MatLab = CreateObject(“Matlab.Application”)
Result = MatLab.Execute(“surf(peaks)”)Dezember 1, 2014 um 8:52 am Uhr #9374Bernhard KantzTeilnehmerAfter adding the reference to the FlexPro Object Library (e.g. via the type library flexpro.tlb found in the installation folder) one can access the object model. To get an application pointer, one can use the following code:
Dim app As FlexPro.Application Set app = CreateObject("FlexPro.Application")
To attach to a already running instance GetObject(, “FlexPro.Application”) can be used instead.
To add a new project database, one can use
Dim oDatabase As FlexPro.Database Set oDatabase = app.Databases.Add
Now one can start adding objects (like folders, formulas, datasets, diagrams, …) to its RootFolder and perform updates (to cause calculations). The database can then be saved and closed with the respective methods.
-
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.