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

  • Question

  • 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)?
    Tuesday, October 20, 2020 8:38 PM

All replies

  • Hi R. J. Dunnill,

    Thank you for posting here.

    In order to get more efficient responses, you can consider posting the question at the following more appropriate forum.

    Visual Basic 6 and Earlier

    Thank you for your understanding.

    Best Regards,

    Xingyu Zhao


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, October 21, 2020 1:46 AM