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.
Thank you very much. Been lokking for this solution a while now. Finally!
great article, but do you know how to get events directly from the webbrowser control itself or how to reference it. Not the combobox itself.
I am also having problems with events, the change event does seem to fire?
Post a Comment