If you're using VB.Net you can create a Control Class Library, put in a UserControl and use the attribute COMClass and then right-click the project choose Properties go to Configuration Properties>Build and check Register for COM Interop. I'm not sure how to get the component to function, however but it works well on normal classes. There is probably a better way.