Can't load, unload, or set Visible property for top level menus while they are merged (Error 397)

The Visible property can't be set for a top-level menu while an ActiveX component's menu is merged with a container form's menu. This error has the following cause and solution: