Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word interop FileNotFoundException

Status
Not open for further replies.

hawkcg

Programmer
Dec 10, 2001
23
0
0
US
I'm trying to create a mailing label merge using Word, but whenever I call this:
Code:
Dim oDoc As New Microsoft.Office.Interop.Word.Document
I get the following exception:
Code:
System.IO.FileNotFoundException: Retrieving the COM class factory for component with CLSID {00020906-0000-0000-C000-000000000046} failed due to the following error: 8007007e
I realize this is a file not found exception, but it shouldn't be happening. I tried reinstalling the PIAs but it didn't do any good. I've searched Google up and down and can't find anything else. Any ideas?
 
What version of word are you using. Since 2003 they changed the namespaces a little. Just to make live more interesting.

Christiaan Baes
Belgium

"My new site" - Me
 
I'm using Word 2003 and I installed the Office 2003 PIAs.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top