Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Register and Unregister SAP2000.exe file

The procedure for registering and unregistering exe file is as described below (please note that this procedure is different than the procedure for DLL files):

Code Block
Info

Written for SAP2000 V15, this page also applies to CSiBridge and subsequent SAP2000 versions. For earlier versions of SAP2000, only the .exe file could be referenced into the client application project.


To use the SAP2000 API, your project must reference the corresponding .exe or .dll files, given as follows:

  • For .NET Framework based client applications (such as Microsoft Visual Studio 2010), you must reference SAP2000v15.dll into your project.
  • For macro-based applications (such as Microsoft Excel), you can reference SAP2000.exe into you project.

For the referenced file to work correctly, the referenced file must be registered with the operating system using the procedures described below:

Register or unregister SAP2000.exe file

To register or unregister the SAP2000 executable file, please use the following commands:

Code Block
To register: sap2000.exe /regserver
... to register the exe file
To unregister: sap2000.exe /unregserver

Register or unregister SAP2000v15.dll file

The .dll file automatically registers with software installation. When using a certain minor version of the software, specific .

...

dll files may be registered or unregistered manually with the following commands:

Code Block
To register: sap2000v15.dll /regserver
To unregister: sap2000v15.dll /unregserver

External Links


Show if
groupeditors

Related Incidents:

  • Incident 43237: Issues with using SAP2000 API in Microsoft Visual Studio 2010