Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Where to find/create the menu control...??

Hi guys,

A question here. How do i create my custom menu for a standard exe? I can't seem to find the menu control anywhere.

What i mean by custom menu is whereby i wanna create a dropdown menu like the one we often see in MS word, pp...etc, the File, Edit, View,...etc

I know the syntax is something like mnuMenuName

Thanks thanks...

Cheers,
Justin
[404 byte] By [ootnitsuj] at [2007-11-11 8:00:19]
# 1 Re: Where to find/create the menu control...??
Select "Menu Editor..." from VB's Tools menu.
Phil Weber at 2007-11-11 17:26:09 >
# 2 Re: Where to find/create the menu control...??
Keep in mind that the "Menu Editor..." (Ctrl+E) is enabled only when the form (or usercontrol) is open in object mode, not code mode.
Marco
mstraf at 2007-11-11 17:27:10 >
# 3 Re: Where to find/create the menu control...??
You can also right-click on the form and select Menu Editor...
jeremy.smith at 2007-11-11 17:28:08 >
# 4 Re: Where to find/create the menu control...??
wow thanks alot guys...u all have been of great help...

Now I have another problem...Can someone guide me with this-

Now I have a command button cmdLoad, and i want this button,when clicked, opens up the conventional MS dialog window that allows user to select the desired directory and file to load into the program...May I know how to go about doing this? Are there any sites that have tutorials on this? Thanks alot once again...
ootnitsuj at 2007-11-11 17:29:13 >
# 5 Re: Where to find/create the menu control...??
http://www.vb-helper.com/howto_select_file.html
Phil Weber at 2007-11-11 17:30:12 >
# 6 Re: Where to find/create the menu control...??
thanks thanks guys...I have another question...

How do I go abt creating a dialog window for user to load a doc or img with a click on a button say cmdLoad. I cant seem to find any tut on that so can someone help me please...

Thanks a million bros...

Regards,
Justin
ootnitsuj at 2007-11-11 17:31:18 >
# 7 Re: Where to find/create the menu control...??
Didn't I already answer this question? In the cmdLoad_Click event, display the Open File Common Dialog as demonstrated at the link I posted in my previous reply.
Phil Weber at 2007-11-11 17:32:11 >
# 8 Re: Where to find/create the menu control...??
Okie Phil,

think I missed it...thanks alot for the help...but what if i wanna open up an image? same method?

Cheers,
Justin
ootnitsuj at 2007-11-11 17:33:15 >
# 9 Re: Where to find/create the menu control...??
Your last question does not have anything to do with the title of this hread "Where to find/create the menu control...?" I suggest you to start a new thread, so that you can get more help
Marco
mstraf at 2007-11-11 17:34:22 >