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
\\
\\
{hidden-content}
h1. Previous page content:
h1. 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}
sap2000.exe /regserver ... to register the exe file
sap2000.exe /unregserver ... to unregister the exe file
{code}
h1. External Links
* [Unregister exe activex file from Windows registry|http://www.programmersheaven.com/mb/VBasic/116833/117102/re-unable-to-unregister-exe-activex-file-from-windows-registery/]
{hidden-content} |
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
Programmers Heaven - Unregister EXE ActiveX file from Windows registry
Show if | ||
---|---|---|
| ||
Related Incidents:
|