![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I create an Application object to Outlook with this code:
public Outlook.Application outlookApp = null; Outlook.ApplicationClass _app = new Outlook.ApplicationClass(); outlookApp = (Outlook.Application)_app; Then I try to hookup the ItemSend event as follows: outlookApp.ItemSend += new Microsoft.Office.Interop.Outlook.ApplicationEvents _11_ItemSendEventHandler(OnSend); I get the following error: Cannot implicitly convert type 'Microsoft.Office.Interop.Outlook.ApplicationEvent s_11_ItemSendEventHandler' to 'Outlook.ApplicationEvents_ItemSendEventHandler' Can anyone tell me what I am doing wrong? Thanks!! bob |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
No entryid on Itemsend Event | [email protected] | Add-ins for Outlook | 3 | March 2nd 09 04:20 PM |
Can I capture the event ItemSend from a macro? | Totem | Outlook and VBA | 13 | April 25th 08 02:05 PM |
ItemSend Event | Catalin | Outlook and VBA | 4 | January 17th 08 07:17 PM |
Write RTF-Body on ItemSend event | Thomas | Add-ins for Outlook | 2 | February 12th 07 11:22 AM |
ItemSend event differences betweek W2K & WXP | Lionel H | Outlook and VBA | 4 | October 20th 06 03:16 PM |