I need to create a plug-in (with GUI) for an application that loads them as activeX components (the joy of legacy systems). I’ve done some googling, but while I can find multiple examples of how to create an activeX component for a web page I can’t find any examples for the desktop equivalent.
Share
You should start with a new Windows Forms Control Library – Project.
In the project-properties dialog, section for your application,
click on [Assembly Information …].
Then you will see a checkbox: Make assembly COM visible.
Check this option on.
This is equivalent to having
in AssemblyInfo.cs. All your (public) user-controls should be accessible e.g. in VB6 projects.
I didn’t expect so much trouble as discussed here
The main point seems to be: regsvr32 is useless for .net-dlls. you should go with regasm.exe