Versions Compared

Key

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


h1. Register or unregister SAP2000.exe file To register or unregister the [SAP2000|sap2000:home] executable file, please use the following commands: {code}
Wiki Markup
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 unregister: sap2000.exe /unregserver
{code}

Please note that this procedure differs from that for DLL files.

h1. External Links

* {new-tab-link:http://www.programmersheaven.com/mb/VBasic/116833/117102/re-unable-to-unregister-exe-activex-file-from-windows-registery/}Unregister exe activex file{new-tab-link} from Windows registry

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