Error -2147319779 -> "Automation error. Object library not registered" - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Error -2147319779 -> "Automation error. Object library not registered"

RicardoFurtadoRicardoFurtado Posts: 205Member
I'm one of the developers of an application, in Visual Basic 6, that uses Microsoft Word. The application uses Microsoft word for 8 years or so, and allways worked fine, till one day, on the computer that had the project and in one client only, started giving the following error:

-2147319779
"Automation error
Object library not registered"

We build another computer and installed everything else, again. Everything was working just fine, till one day started giving the same error. The problem is that we can't understand what did we do for this error to start happening. The initial version of MS Word was 97, after we installed the MS Word 2000, for a few months it started working fine, till one day, once more.
We've googled for this error and we found somethings that we've tryed, but did not worked. We tried to :
-> Uninstall Norton Antivirus 2003 (we found a web page stating that Norton Antivirus 2000 could make this error happen)
-> delete "Normal.dot" file.
-> change the "Normal.dot" file with another from another computer

We are desperate because we can't debug this part of our application, and its somehow difficult to develop under this circumstances
the error happens in the following line of code:

Set objWordApp = New Word.Application

We thank you in advanced

Comments

  • PavlinIIPavlinII Posts: 404Member
    : I'm one of the developers of an application, in Visual Basic 6, that uses Microsoft Word. The application uses Microsoft word for 8 years or so, and allways worked fine, till one day, on the computer that had the project and in one client only, started giving the following error:
    :
    : -2147319779
    : "Automation error
    : Object library not registered"
    :
    : We build another computer and installed everything else, again. Everything was working just fine, till one day started giving the same error. The problem is that we can't understand what did we do for this error to start happening. The initial version of MS Word was 97, after we installed the MS Word 2000, for a few months it started working fine, till one day, once more.
    : We've googled for this error and we found somethings that we've tryed, but did not worked. We tried to :
    : -> Uninstall Norton Antivirus 2003 (we found a web page stating that Norton Antivirus 2000 could make this error happen)
    : -> delete "Normal.dot" file.
    : -> change the "Normal.dot" file with another from another computer
    :
    : We are desperate because we can't debug this part of our application, and its somehow difficult to develop under this circumstances
    : the error happens in the following line of code:
    :
    : Set objWordApp = New Word.Application
    :
    : We thank you in advanced
    :
    Hi,
    New Word.Application - the Word is reference to the ms word dll library. When you use new version of ms office, did you change the reference to the higher version of ms word dll?
    If you did not (and you need to run it with old one), did you tried regsrv to register it?



    [blue][b][italic][size=4]P[/size]avlin [size=4]II[/italic][/size][/b][/blue]

    [purple]Don't take life too seriously anyway you won't escape alive from it![/purple]


Sign In or Register to comment.