Automation Error when instantiating Office from VB6

M

Martin Neumann

I am trying to instantiate an office application with the following code:
Dim PPT As PowerPoint.Application
Set PPT = CreateObject("PowerPoint.Application")

The result:
Runtime error -2147221163(80040155)

Automation error
Interface not registered

The results are the same for any Office application.

I tried reinstalling Office with the same results. I tried other OLE
automation scenarios, and could at least instantiate the software. I did
not find anything smart in the Knowledge base either. Any hint what that
could be?
 
M

Martin Neumann

Yes, I just tried, with the same result. I found out in the meantime,
that another Powerpoint Automation tool that was working before produces
now the exact same error. So there is something wrong with Office or the
Automation Library on my system. Just have no idea what.
 
M

Mark Bower [MSFT]

Try doing a Detect and Repair and if that doesn't work the next step is
probably to open a support incident with Microsoft Product Support Services.

--
Mark Bower
Microsoft
http://blogs.msdn.com/bowerm

This post is provided 'as-is' without warranty and confers no rights.
 
M

Martin Neumann

Yes, I made a repair on office, even a reinstall at another time, with
no change of the situation. Although the automation server runs fine
with other non-office programs, is there a way to update that part as
well? Maybe worth a try. Just dont know how.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top