Solved

Create menus Runtime Using Visual Basic

Posted on 2003-10-23
6
189 Views
Last Modified: 2013-11-25
I wan to create All menus at run time there are

Top Level Menu ( I dont know Total Count to Top Level Menu)
1st Child
2nd Child
3rd Child

I had tried a lot but didnt get any solution.. please help me if any body knows
0
Comment
Question by:dhavalgs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 7

Expert Comment

by:_agj_
ID: 9606069
Create a single menu item and use Load mnuItemName(index) to add more
0
 
LVL 3

Expert Comment

by:TheQuestion
ID: 9606215
0
 

Expert Comment

by:lacevdo
ID: 9608674
You must use a MenuArray Control Array. (declare at design time a menu with index 0,
that means that this menu is a Menu Control Array that begins in 0)

After that use Load MyItem(index) to add more items to the Menu Control Array
(Index Must begin in 1).

To Delete items from the Menu Control Array just use Unload Myitem(Index)
0
 
LVL 48

Accepted Solution

by:
Mikal613 earned 125 total points
ID: 9898826
If TheQuestion is accepted please Accept This Comment because TheQuestion is now known as Mikal613
0
 
LVL 27

Expert Comment

by:planocz
ID: 10173465
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
No response from dhavalgs from 12/8/2003 comment
Award points to Mikal613 is recommend.
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

planocz
EE Cleanup Volunteer
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question