RE: 'Library not registered' error creating word.application
- From: jialge@xxxxxxxxxxxxxxxxxxxx (Jialiang Ge [MSFT])
- Date: Thu, 16 Aug 2007 04:07:28 GMT
Hello John,
From your post, my understanding on this issue is: you get the error:2147319779 when the vb6 code runs to Set wd = New Word.Application. Office
2007 was once installed on the pc, then it was removed and replaced with
office 2003. If I'm off base, please feel free to let me know.
As we know, the error 2147319779 means 'Library not registered' according
to the KB article http://support.microsoft.com/kb/186063. Because the pc
was once installed with Office 2007, my suggestion is:
#1. please check the references of the vb project (menu:
Tools->References). Has it referenced to the correct Word library:
Microsoft Word 11.0 Object Library? (11.0 is the current version of Word in
your computer)
#2. If suggestion #1 does not help, I think you need to re-register your
Word 2003 dlls. You may go to Start: Run, and type:
c:\path to your word 2003\Winword.exe /r
This will cause Word to rewrite all of its registry keys with their default
values. When you've done that, double check the Word reference in the vb
project, then try the code again.
If both the suggestions cannot help to resolve the problem, would you tell
me the type of your customer's site? Is it a Retail Solution Site?
Sincerely,
Jialiang Ge (jialge@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support
==================================================
For MSDN subscribers whose posts are left unanswered, please check this
document: http://blogs.msdn.com/msdnts/pages/postingAlias.aspx
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express/Windows Mail, please make sure
you clear the check box "Tools/Options/Read: Get 300 headers at a time" to
see your reply promptly.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Follow-Ups:
- RE: 'Library not registered' error creating word.application
- From: John Austin
- RE: 'Library not registered' error creating word.application
- Prev by Date: Outlook Synchronisation Needed (from WWW to local)
- Next by Date: Open PowerPoint and Excel documents with C#
- Previous by thread: Outlook Synchronisation Needed (from WWW to local)
- Next by thread: RE: 'Library not registered' error creating word.application
- Index(es):
Relevant Pages
|