Click here to Skip to main content
14,838,597 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I have created a menu item by using the following code
MenuItem item = new MenuItem("Open");

My task is to add the above menuitem to outlook commandbar commadbar is created as
private Office.CommandBar default_MenuBar;///Declaration
default_MenuBar = inspector.CommandBars.ActiveMenuBar;//Definition

How can i add this?

Please help me.

Thanks in Advance.
Updated 23-Jun-11 18:27pm

1 solution

Try this, though it says office 2003.[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900