Quantcast
Channel: RAM | STAAD Forum - Recent Threads
Viewing all articles
Browse latest Browse all 23543

OpenSTAAD 1.0 Type Library

$
0
0

In the StaadPro V8i SS6, I can not find the "OpenSTAAD 1.0 Type Library"  to add reference. There is only OpenSTAADUI. It causes my programme in VB.NET can not run the old code:

Dim objOpenSTAAD As Object

'Run an instance of OpenSTAAD
objOpenSTAAD = CreateObject("OpenSTAAD.Output.1")

'Open a STAAD file

objOpenSTAAD.SelectSTAADFile(currentStaad)

objOpenSTAAD.AnalyzeStructure("US")

I use the new code instead but it can not open StaadPro Application (can't create Active X).

Dim objOpenSTAAD As Object

Dim current_Staad_Output As String
'Run an instance of OpenSTAAD
objOpenSTAAD = GetObject(, "StaadPro.OpenSTAAD")

'Open a STAAD file
objOpenSTAAD.OpenSTAADFile(currentStaad)
objOpenSTAAD.Analyze()

Please help me to bring back the "OpenSTAAD 1.0 Type Library". It 's really all my needs.


Viewing all articles
Browse latest Browse all 23543


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>