Automation with Word 2000 & 2003

I

imranmp

Hi,
I have a program that creates a word file - inserts some text and saves it.
The comp I used to program had Office 2003; it works great.

But after installing the program in another comp which has word 2000 it
doesnt work. it gives me the error:
System.IO.FileNotFoundException: Could not load file or assembly
'Interop.Microsoft.Office.Interop.Word, Version=8.4.0.0, Culture=neutral,
PublicKeyToken=null' or one of its dependencies. The system cannot find the
file specified.
File name: 'Interop.Microsoft.Office.Interop.Word, Version=8.4.0.0,
Culture=neutral, PublicKeyToken=null'

I have the references: Microsoft Word 11.0 Object Library, Microsoft Office
11.0 Object Library

Anyone have any ideas? thanks
 
T

Tapio Lindqvist

Have you installed Office primary interop assemblies (PIAs) to clien machine.
You'll need to have the approriate dll:s in client machine. You can find
Redistributable Primary Interop Assemblies from microsofts download pages.

BR. Tapio Lindqvist
 

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