Automation Error with Office

M

Martin Neumann

I am trying to get a program to run that uses the Automation Server to
access Powerpoint. It has worked before, but now I get the error message:

Runtime error -2147221163(80040155)

Automation error
Interface not registered


I tried already to reinstall Office with no success. Any hint what it
could be?
 
D

Dave Patrick

What program?

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I am trying to get a program to run that uses the Automation Server to
| access Powerpoint. It has worked before, but now I get the error message:
|
| Runtime error -2147221163(80040155)
|
| Automation error
| Interface not registered
|
|
| I tried already to reinstall Office with no success. Any hint what it
| could be?
|
 
M

Martin Neumann

It is a VB6 program that tries to automate Powerpoint 2000
I am running Windows 2000 SP4, I reinstalled Office 2000 and tried with
SR1 and SP3, always with the same result. I tried to write new code and
tried a tool that worked before, both time the same error. I also
deinstalled Norton Antivirus since I read that the Script Blocking could
interfere with that. Still I have no sucess yet. Any clues?
 
D

Dave Patrick

Sounds like some required library isn't registered/ installed on the target
machine.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| It is a VB6 program that tries to automate Powerpoint 2000
| I am running Windows 2000 SP4, I reinstalled Office 2000 and tried with
| SR1 and SP3, always with the same result. I tried to write new code and
| tried a tool that worked before, both time the same error. I also
| deinstalled Norton Antivirus since I read that the Script Blocking could
| interfere with that. Still I have no sucess yet. Any clues?
 
M

Martin Neumann

Shouldn't office take care of that after a reinstall? Or is there
something missing in the operating system? What to do except of
reinstalling windows (Which would be several days of work with all the
programs I have).
 
D

Dave Patrick

Depends entirely on what objects the developer may have used. You'll
probably want to contact the application developer. If you are the developer
then from the VB6 IDE Tools|References and make sure all exist and are
correctly registered on the target machine.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Shouldn't office take care of that after a reinstall? Or is there
| something missing in the operating system? What to do except of
| reinstalling windows (Which would be several days of work with all the
| programs I have).
 
M

Martin Neumann

I have the problem with both, an application that was running before and
an own development where I have the code. But the thing hangs on the
first line when instantiating Powerpoint. The reference in VB6 is done
correctly, so it must be a problem with Office or the OS. But how do you
troubleshoot that and find out what is wrong with Office?
 
D

Dave Patrick

Better to ask them in one of the VB groups.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I have the problem with both, an application that was running before and
| an own development where I have the code. But the thing hangs on the
| first line when instantiating Powerpoint. The reference in VB6 is done
| correctly, so it must be a problem with Office or the OS. But how do you
| troubleshoot that and find out what is wrong with Office?
 

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