A
Anyone for Coffee?
ref:
http://www.microsoft.com/communitie...855c&mid=6836500a-e234-489f-b464-19e70f3a855c
Wierd. Do replied to items not pop up to the top? I posted a reply to a
message but no-ones going to read it cos it's on page 4.
So apploogies for posting it again, but...
My application 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 are:
Outlook.ApplicationClass olApp = new Outlook.ApplicationClass();
Outlook.NameSpace olNS = olApp.GetNamespace("MAPI");
MSOffice.COMAddIns addIns = olApp.COMAddIns;
I do not get he 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
http://www.microsoft.com/communitie...855c&mid=6836500a-e234-489f-b464-19e70f3a855c
Wierd. Do replied to items not pop up to the top? I posted a reply to a
message but no-ones going to read it cos it's on page 4.
So apploogies for posting it again, but...
My application 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 are:
Outlook.ApplicationClass olApp = new Outlook.ApplicationClass();
Outlook.NameSpace olNS = olApp.GetNamespace("MAPI");
MSOffice.COMAddIns addIns = olApp.COMAddIns;
I do not get he 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