Results 1 to 1 of 1

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

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2017
    Location
    British Columbia
    Posts
    23

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

    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)?
    Last edited by R.J. Dunnill; Oct 20th, 2020 at 04:46 PM. Reason: Change title

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width