I'm looking at the Interop UserControl mechanism that's part of the "Interop Forms Toolkit" version 2.0. (This you to build a .Net UserControl that can be published as a COM object for use on VB6 forms.)
I've started a new project using the "VB6 Interop UserControl" template, and what I see is a class definition that looks like this:
<ComClass(InteropUserControl.ClassId, InteropUserControl.InterfaceId,
InteropUserControl.EventsId)> _
Public Class InteropUserControl
+ VB6 Interop Code
'Please enter any new code here, below the Interop code
End Class
without any "Inherits" statement. But if I look in the Class Browser, I can see that this class (not surprisingly) inherits from the WinForms UserControl class. How can it be that the "Inherits UserControl" piece of the class declaration isn't visible anywhere?
Question 634559 also shows an InteropUserControl class declaration without any "inherits UserControl" statement. I must be missing something simple from my VB.Net knowledge. (I do most of my .Net work in C#.)
Any help in understanding this would be appreciated.