Community discussion forum

Create Dynamic Menu in VB

This is a comment thread discussing Create Dynamic Menu in VB
  • 9 years ago

    This thread is for discussions of Create Dynamic Menu in VB.

  • Advertisement

    Simply the fastest line-level profiler for .NET ever

    “The low overhead means it has minimal impact on the execution of my program”
    Mark Everest, Development Team Leader, Renault F1 Team Ltd.

    Try out the new ANTS Profiler 4 for yourself. Download your 14-day trial now

  • 2 years ago

    it could do with the sample program

     

  • 2 years ago

    HI hari,

    very good job you have done.

    may i know how to add short cut key's to that menu.

  • 1 year ago

    hi khari6579,

    i have a question for your control. how can you make the submenus into 2 or more columns like the behavior of the StartMenu in Windows XP if the items are too many & the users does not like the default scrolling items.

    thank you very much.

  • 1 year ago

    Dear John
     You can able to add submenu like the behaviour of the win XP. Its also applicable in the given coding..

    I explained (Build our subment, first submenu and  second sub menu like that i mentioned in the code itself) in the coding itself and also commended that line

    Hari K......






  • 1 year ago

    Dear Ravi,

     Thanking you!!! your comments...

     If each menu is doing a Desktop application then we need to worry about the shortcut key for each and every menu. If you ask that how to add all the menus in the Systray then you need to add one more class for doing that purpose. Here i just given a example/logics for how to create menu dynamically..

    Have a nice day

    Regards
    Hari K......










  • 7 months ago

    Hi Hari,

     

    I have copied your code into a VB project but when I click on the lblLabel I get this error message:-

    "User-defined type not defined" when it hits this line...  "Dim oMenu As mcPopupMenu"

    What am I doing wrong?

    Regards,  Doug.

Post a reply

Enter your message below

Sign in or Join us (it's free).