Thanks, Ted. I do recall issues with older versions of Office and One Click or Click to Install mode being strongly discouraged although I don't think there's any other now to install Office. It's a bit annoying that I had to dump Access and Visio to get it to work but it was a better solution than hours of registry hacking.
-- rk -----Original Message----- From: ProfoxTech [mailto:[email protected]] On Behalf Of Ted Roche Sent: Monday, December 05, 2016 1:38 PM To: [email protected] Subject: Re: COM Automation problem with Word 2016 Well, never mind. On Mon, Dec 5, 2016 at 12:39 PM, Richard Kaye <[email protected]> wrote: > For anyone following along, I've managed to make it past the most basic of > problems with object creation. Looks like I had some registry conflict > because I had parts of Office 2010 installed (Access, Visio). I uninstalled > 2010 which then completely broke COM. Finally I followed that up with a quick > repair of O2016 and could once again create COM objects. Now I can go back to > working on the thing that I really wanted to do. > > -- > > rk > -----Original Message----- > From: ProfoxTech [mailto:[email protected]] On Behalf Of Richard > Kaye > Sent: Monday, December 05, 2016 12:10 PM > To: [email protected] > Subject: COM Automation problem with Word 2016 > > Whilst I bang away at this on my own I figured I should throw it out to the > collective wisdom. I noticed recently that both CreateObject and NewObject > are failing to instantiate an object for Word 2016. GetObject works fine to > retrieve a running instance. Excel works fine. > > oo=CREATEOBJECT([word.application]) > > results in OLE error code 0x80080005: Server execution failed. > > Google fu has failed me so far. If anyone here has had success automating > Word 2016, please share your magic tricks. > > Thanks. > > -- > > rk > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/bn4pr10mb09135a5e4439ad5d9197d6d1d2...@bn4pr10mb0913.namprd10.prod.outlook.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

