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:
- Uninstall and reinstall Structural Modeler (so that the dlls are properly registered by the installer)
OR
- Manually register the dlls with the following commands:
- C:\Documents and Settings\Administrator>cd "C:\Program Files\Common Files\Bentley Shared\IEG\OpenSTAADBentley"
- C:\Program Files\Common Files\Bentley Shared\IEG\OpenSTAADBentley>regsvr32 /s STAADLibBentley.dll
- 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
- 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.