Register the Add-in Component
After you build the add-in component with the erwinSpy_AddIn.NET project, you must register it.
To register the add-in component
- Navigate to the erwinSpy.NET\bin folder in the installation directory.
- Copy the add-in component to the erwinSpy.NET\bin folder.
- Rename the add-in to erwinSpy_AddIn.NET.x64.dll
- Run the following command:
register.bat 64
The add-in component is registered.
Make a VB.NET Library COM Callable
The VB.NET library is not loaded automatically to erwin Data Modeler. You have to make the VB.NET library COM callable.
Follow these steps:
- Create a VB.NET library project in Visual Studio 2013.
- Add a COM template class.
- Right-click on Project and select Add, Component, COM class.
- Copy the RegisterFunction, UnregisterFunction, and GetSubKeyNmae function from erwinSpy.vb in erwinSpy_AddIn.NET project to the COM template class.
- Add your public function which can be shared with other users.
The VB.NET library is now COM callable.
Copyright © 2023 Quest Software, Inc. |