Structural Modeler MVBA STAAD/RAM Data Exchange does not Work


  
 Applies To 
  
 Product(s):STAAD.Pro
 Version(s):All
 Environment: N/A
 Area: Import Export Solutions
 Subarea: Import/Export
 Original Author:Denis Soreng
Bentley Technical Support Group
  

Structural Modeler MVBA STAAD/RAM Data Exchange does not work - TechNote

Document Information

Document Type: TechNote 

Product(s):  Structural Modeler

Version(s):  V8i

Original Author: Bentley Technical Support Group

Legacy Document Number:

Some VBA applications require certain C++ run-time libraries to work properly and when not present on the machine throw run time errors.When Microsoft Office is installed/or present on the machine then these library files are automatically present. If not then they need to be installed separately.

Please download the following run time libraries and install:

Without the run-time libraries STAAD/RAMDataAccess dlls don't register properly. Therefore please do either of the following:

                                                        OR

  1.  C:\Documents and Settings\Administrator>cd "C:\Program Files\Common Files\Bentley Shared\IEG\OpenSTAADBentley"
  2. C:\Program Files\Common Files\Bentley Shared\IEG\OpenSTAADBentley>regsvr32 /s STAADLibBentley.dll
  3. If RAM Structural System is installed on the machine then try to register the following file:C:\Program Files\Bentley\Engineering\RAM Structural System\Prog>regsvr32 /s RAMDataAccess.dll
  4. If RAM Structural System is not installed on the machine then register the following dll:C:\Program Files\Bentley\Engineering\RAM 3DViewer\Prog>regsvr32 /s RAMDataAccess.dll

 

Also in Vista and Windows7 machines if the UAC is turned ON, the required OpenSTAAD and RAMDataAccess dlls don't get registered. In such a case "Compile Error in Hidden Module" error is thrown or the GUI is displayed but on importing/exporting a model, the application throws a "VBA Interface Error"

Therefore either set UAC to Off or manually register the dlls mentioned above.