General information
Category:
ActiveX controls
Unless I misread the original post, the question was how to execute the code in the subclass and in the parent class. You may acheive this result by creating an ActiveX control and using hooks, but it's ugly and a PITA to maintain.
>Not true. Since Koen refers to the UserControl control, and has posted this message under "ActiveX Controls", I assume that we are dealing with a case of trying to wrap a control in an ActiveX DLL for later use. Not inheritance, true, but it works for a lot of common circumstances (and seems to be what the original post is asking about).
>
>Indeed, you can wrap a control into an active-x dll, expose events with the same name, and then execute however many methods you want. It's a bit of a chore, once it goes beyond simple functionality. In fact, I would need to hear exactly what the issue/problem/step in the process is, before giving a good one-paragraph solution. There are many books that deal with how to create an ActiveX control in VB so it may be worth a trip to Barnes and Noble. Have a coffee and take some notes (or re-post with more details).
>
>Note that there are several known bugs.... urhhhh.... "issues" when assigning design-time property defaults via the PropertyBags, but with method calls I haven't had problems.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only