I'm trying to run a Microsoft Word process without addins but don't have permissions to stop them, so I want to launch Microsoft Word in safe mode or with /a and connect to it rather than create a new instance. is this possible? any tips on what code I need to attach to a running instance?
Normally:-
_Application objWord;
if (!objWord.CreateDispatch("Word.Application"))
{
return 0;
}
// ok