Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » OLE Automation (Request more help with OLE Automation)
OLE Automation [message #51280] Fri, 01 March 2019 06:36 Go to previous message
Pradip is currently offline  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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: U++ with Visual Studio 2017?
Next Topic: [solved] Is it an encoding problem ?
Goto Forum:
  


Current Time: Fri Mar 29 13:47:27 CET 2024

Total time taken to generate the page: 0.01676 seconds