Problem solve Get help with specific problems with your technologies, process and projects.

How to merge two menus in VB.NET

If you want to add a part of mainmenu in contextmenu, you can use the mergemenu method.

This tip was submitted to the VS.NET Info Center by member Thomson Alexander. Please let other users know how useful it is by rating it below. Do you have a tip or code of your own you'd like to share? Submit it here.


If you want to add a part of mainmenu in contextmenu, you can use the mergemenu method. Say your contextmenu is contextmenu1, and mainmenuitem is mainmenuitem1, then you would use:

Contextmenu1.mergemenu(mainmenuitem)

Dig Deeper on Win Development Resources

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchCloudComputing

SearchSoftwareQuality

TheServerSide.com

Close