Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. HOW TO: populate Menus at runtime

HOW TO: populate Menus at runtime

Scheduled Pinned Locked Moved Visual Basic
questioncsharpdatabasedata-structures
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    azam316
    wrote on last edited by
    #1

    hi evry1, i have to populate menus thru an Access database in VB 6.0 i know how to generate main menu and menu items at runtime in VB.NET, but what i want to know is that, how do i perform the same thing in VB 6.0? there is no mainMenu property in a VB 6.0 form. Secondly i can add a menu item using a cotrol array of a menu, but this doesnt allow me to create a sub menu of a newly added menu. Please help me!!! thanx in advance ☺«««DTA»»»☺

    R 1 Reply Last reply
    0
    • A azam316

      hi evry1, i have to populate menus thru an Access database in VB 6.0 i know how to generate main menu and menu items at runtime in VB.NET, but what i want to know is that, how do i perform the same thing in VB 6.0? there is no mainMenu property in a VB 6.0 form. Secondly i can add a menu item using a cotrol array of a menu, but this doesnt allow me to create a sub menu of a newly added menu. Please help me!!! thanx in advance ☺«««DTA»»»☺

      R Offline
      R Offline
      rwestgraham
      wrote on last edited by
      #2

      To add submenus dynamically in VB6 you need to create a place holder top level menu and set it's Index property to 0. Then add sub menus by index.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups