Please Help: Addin for Visual Studio.NET
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
I'm looking for the way to create the custom menu in VS.NET for my Addin. As you know, if you create the addin with Visual Studio.NET Addin Wizard and choose [Create the TOOL menu] then .NET generates the code in OnConnection Sub like following.. CommandObj = applicationObject.Commands.AddNamedCommand(objAddIn, "MyAddin1", "MyAddin1", Executes the mommands for MyAddin1, True, 59, Nothing, 1+2) CommandObj.AddControl(applicationObject.CommandBars.Item("Tools")) This will insert the MyAddin1 menu in TOOL menu when it's first loaded. I wanna creat my custom Menu like MyAddins next to Tool menu, then insert addin's menu into it...:confused: If anyone know the way to do it, please tell me. Thanks.:laugh: