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.