Outlook Menu Item

Aug 27, 2012 at 6:37 PM

Now i gotta everything working fine.

I have a new question, there is an example how to add a menu item in Outlook?

When you have an email and click over this e-mail with right button, you have a menu, how to add an item to this menu?

 

Br,

 

Ricardo

Coordinator
Aug 28, 2012 at 5:08 AM

NetOffice contains no example for custom context menus at the moment (but a good idea!)
the following links can be helpfull for you:

the old way:
http://www.outlookcode.com/codedetail.aspx?id=1777

the modern way:
http://msdn.microsoft.com/en-us/library/office/ee692172.aspx#OfficeOLExtendingUI_ContextMenuforaMailItem

this works also with NetOffice. i want to create an example at the weekend(its a realy good idea)

Sebastian

Aug 28, 2012 at 8:10 PM

Sebastian, first i want to thank you for all your help.

I have another question, i´m using the CustomTaskPane, and i'm creating the taskPane content thru the ctpFactory.CreateCTP(, is there some way to use UserControls from another assembly thru this method or other way? I have a Class with all my UserControl that i will use thru the Addin, and i´m reference this Assembly in the principal Assembly of my outlook AddIn.

BR,

 

Ricardo

Aug 28, 2012 at 8:27 PM

Just for help, when i try to create i gotta this error message "Unable to create the Specified ActiveX Control "

Nov 12, 2012 at 1:04 PM

Hi, Sebastian.

You wrote that you "want to create an example at the weekend".

Do you have any solution, examples :) ??