1
VSTOを使用してOutlook 2007の新しいメッセージウィンドウと受信トレイウィンドウにAddinボタンを作成する方法。新しいメッセージウィンドウと受信トレイウィンドウのAddinボタンを作成する
このコードは、私がVSTOとVisual Studio 2005を使用してい展望2007のメインウィンドウ
//Define the existent Menu Bar
menuBar = this.Application.ActiveExplorer().CommandBars.ActiveMenuBar;
//Define the new Menu Bar into the old menu bar
newMenuBar = (Office.CommandBarPopup)menuBar.Controls.Add(
Office.MsoControlType.msoControlPopup, missing,
missing, missing, false);
にボタンを追加Office 2007の