sacspb
08-14-2001, 04:54 PM
I would like to use the menu control in an application.I do not have a menu editor in my application..so can any one tell me where I can get that for download.I mean the menu control(or is it called menu editor?)that we use in VB.I want that as a file .ocx or anything else..or can anyone suggest a similar control that I can use and where can i Get that
Thinker
08-14-2001, 05:00 PM
The menu editor is included with all Visual Basic 6 editions. Maybe you
have an earlier version?
Did you look on the tools menu?
I am not aware of a Menu Control or OCX.
I think therefore I am... sometimes right. images/icons/wink.gif
sacspb
08-15-2001, 10:59 AM
Yes I know there is one already in VB ..but i would like to get the same functionality in another application..where I dont have it already installed..how can i get the menu functionalty in say an access application .?
kcwallace
08-21-2001, 12:32 PM
I am not sure if this what you are looking for, but if you make a reference to MSO97.dll using VBA. You can create fully featured menus. Below is an example of a menu I have created
Set inv_menu = CommandBars("Menu Bar").Controls.Add(Type:=msoControlPopup, temporary:=True)
If inv_menu.visible = False Then inv_menu.visible = True
With inv_menu
.Caption = "I&NV Menu"
End With
Set inv_menu_main = inv_menu.Controls.Add(Type:=msoControlButton, temporary:=True)
With inv_menu_main
.Caption = "&Opening Screen"
.OnAction = "open_prod_list" 'the name of a function or a sub
End With