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}
h1. Register or unregister |
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
{code}
h1. External Links
* *Programmers Heaven* -- {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}
*Related Incident:*
* {incident:no=43237|comment=Issues with using SAP2000 API in Microsoft Visual Studio 2010}
{hidden-content} |
External Links
Programmers Heaven - Unregister EXE ActiveX file from Windows registry
Show if | ||
---|---|---|
| ||
Related Incidents:
|