title: How to add a new tab in Outlook. Outlook addin/plugin development using Visual Studio 2013
body: <p>How do I add a new tab, like for example next to the "View" tab, I need a tab "Custom" and I would like to add my controls here.</p>
  
  <p><img src="https://i.stack.imgur.com/VwSDz.png" alt="enter image description here"></p>
  
  <p>I am using Visual studio 2013, and project type <strong>Outlook 2013 addin</strong>, I am new to this outlook addin/plugin development.</p>
  
  <p>I tried something with the below code, which automatically added a new tab called "Add-Ins" and my test button got added there, instead I would like to create a new tab.</p>
  
  <pre><code>Office.CommandBar myCommandBar = this.Application.ActiveExplorer().CommandBars.Add("custom", Office.MsoBarPosition.msoBarFloating, false, true); 
  myCommandBar.Visible = true;
  
  Office.CommandBarControl cmdBarControl2 = myCommandBar.Controls.Add(Office.MsoControlType.msoControlButton, 1, "", Missing.Value, true);
  cmdBarControl2.Visible = true;
  cmdBarControl2.Height = 200;
  cmdBarControl2.Caption = "My Test button";
  </code></pre>