Can a Winforms interop UserControl merge its menus with a VB6 container form's menu bar?

  • Thread starter Thread starter R. J. Dunnill
  • Start date Start date
R

R. J. Dunnill

Guest
I am trying to migrate a VB6 UserControl to managed code. The original control has a set of standard menus (File, Help, etc) which are merged in to the menu bar of its container form (an ordinary VB6 form) at runtime.

The control is now rewritten in VB.NET, and registered as an ActiveX control which can be dropped on a Visual Basic 6 form in the VB6 IDE. The next step is to populate the form's menu bar by merging in the UserControl's MenuStrip menus with the container's menubar.

Is this possible? Can an interop UserControl merge its menus into the menu bar of its container (as could be done with VB6 UserControls)?

Continue reading...
 
Back
Top