How to create a custom ActiveX view in EA?
- Create a Class Library.
- Make the class that is created visible to COM.
- Create a GUID. (Tools -> Create GUID)
- Add a reference to the project to System.Windows.Forms.
- Make the class inherit from UserControl.
- Create a ProgID for this class, something like ProgId("Namespace.ClassName").
- Project properties and select Register for COM Interop.
- Build the solution.
- Run cmd as administrator and using the regasm.exe we register the dll that is created.
- In the add-in project, we add a reference to the dll that is created.