Hi
I get errors if I try to get the outlook instance from ROT.
Error 1: Property "Visible" cannot read. Member not found.
Error 2: MK_E_UNAVAILABLE
Is a other solution or workaround available to avoid this problem?
I get errors if I try to get the outlook instance from ROT.
Error 1: Property "Visible" cannot read. Member not found.
Error 2: MK_E_UNAVAILABLE
object outlookProxy = System.Runtime.InteropServices.Marshal.GetActiveObject("Outlook.Application");
Outlook.Application outlookApplication = new Outlook.Application(null, outlookProxy);
I've read some other posts and articel and get the information that outlook need more time to register in the ROT. If I wait for example two or three minutes everything is working correctly. But this is not good to work with it.Is a other solution or workaround available to avoid this problem?