Home » Community » Newbie corner » OLE Automation (Request more help with OLE Automation)
OLE Automation [message #51280] |
Fri, 01 March 2019 06:36  |
 |
Pradip
Messages: 109 Registered: February 2019 Location: India
|
Experienced Member |
|
|
Hi All,
Thanks to the contributors, the Office Automation provides immense help for automating with word processors and spreadsheets.
However, being new to UPP and overall C++ coding, need help with automation of other applications, in general.
For example, the following piece of VBA code interacts with a running instance of structural engineering analysis application named STAAD and fetches information to Excel cells:
Dim staad As Object
Dim stdfile As String
Set staad = GetObject(, "StaadPro.OpenSTAAD")
staad.GetSTAADFile stdfile, "TRUE"
Length = staad.geometry.getbeamlength(...)
Cells(2, 17).Value = Length
Next i
I am struggling to re-create similar functionality in UPP, hope to get some help on this.
Thanks and regards,
Pradip
Regards,
Pradip
|
|
|
Goto Forum:
Current Time: Mon Apr 28 17:02:49 CEST 2025
Total time taken to generate the page: 0.03757 seconds
|