![]() |
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
|
|||
|
|||
![]()
http://www.microsoft.com/communities...4-19e70f3a855c
My application that attempts to use the externally available call can't seem to get hold of the add-in. I get the following exception: System.Runtime.InteropServices.COMException (0x80010001): Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED)) The calls I am making a Outlook.ApplicationClass olApp = new Outlook.ApplicationClass(); Outlook.NameSpace olNS = olApp.GetNamespace("MAPI"); MSOffice.COMAddIns addIns = olApp.COMAddIns; I do not get the error if Outlook is running before my application starts. I suspect this is something to do with me trying to access the AddIn before it is loaded - does that sound plausable? Any thoughts on what I should do? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calling an Add-in method from another Application | Anyone for Coffee? | Add-ins for Outlook | 0 | March 10th 07 01:16 AM |
Calling an Add-in method from another Application | David | Add-ins for Outlook | 4 | March 9th 07 11:09 PM |
Calling exposed add-in method and handeling _ComObject type? | Preky | Add-ins for Outlook | 0 | September 7th 06 12:45 PM |
'Display Name' Property for Attachments.Add Method | Ned Moorfield | Outlook and VBA | 0 | May 18th 06 09:06 AM |
about CItems's Add method??? | StupidDog | Outlook - Using Forms | 0 | April 19th 06 11:15 AM |