I got a question from one of my friends,he’s creating an Outlook Add-In and he wants to open a specific website inside outlook.
To do so,simply create a new project Outlook 2007 Add-In,and paste below couple of lines of code,this will open a url inside your outlook.
C# Code :
Office.CommandBarComboBox webControl1 =
(Office.CommandBarComboBox)this.Application.ActiveExplorer().CommandBars.FindControl(26, 1740, missing, missing);webControl1.Text = “http://moustafa-arafa.blogspot.com”;
This code will be used on your Button Click event or any other event handler as per your requirements.
Hope this Tip helps.