I am developing an add-in for Outlook. One requirement is to add a toolbar button to the contact item window. Can anyone tell me how to implement it? Thanks.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Depending on what Outlook versions you want to support you have to use two approaches.
On Outlook < 2007 you either add a new commandbar via
myInspector.CommandBars.Add("my commandbar")(MSDN) or use an existing one via e.g.myInspector.CommandBars.Item(1)(MSDN).Then add a button via
myCommandBar.Controls.Add()(MSDN).On Outlook >= 2007 you need to customize the ribbon which is a bit more writing work. Customizing the Ribbon in Outlook 2007 is a good introduction into that.