I need to start Word without add-ins, cause i need to lower Word startup times at customers.
I found this, it works for starting MSWord.
But GetActiveObject is resulting in the exception “0x800401E3 (MK_E_UNAVAILABLE)“.
It’s supposed to be caused by different users privileges (Visual Studio vs Word), but i got only 1 user on my PC.
Any solution for this or an alternative way of opening Word faster without add-ins?
System.Diagnostics.Process proc = System.Diagnostics.Process.Start(@"Winword.exe",@"/a");
Thread.Sleep(5000);
_wordApp = (MsWord.Application)Marshal.GetActiveObject("Word.Application");
4