How to create a custom ActiveX view in EA?

  1. Create a Class Library.
  2. Make the class that is created visible to COM.
  3. Create a GUID. (Tools -> Create GUID)
  4. Add a reference to the project to System.Windows.Forms.
  5. Make the class inherit from UserControl.
  6. Create a ProgID for this class, something like ProgId("Namespace.ClassName").
  7. Project properties and select Register for COM Interop.
  8. Build the solution.
  9. Run cmd as administrator and using the regasm.exe we register the dll that is created.
  10. In the add-in project, we add a reference to the dll that is created.