Word: Object reference not set to in instance of an object

B

Bob

Hi,

I have added the Microsoft Word 11.0 COM component.

When i try to open a word document on other computers (having Word 2003
installed...), i have this error : Object reference not set to in instance
of an object.
It's working perfectly on the computer where the program was written.

Any help would be appreciated !

Thanks.
 
N

Nicholas Paldino [.NET/C# MVP]

Bob,

Without seeing the code, it's impossible to say.

What version of word do you have on your machine? Is it the same that
is on the other machines?

Also, you ^really^ should reference the Primary Interop Assemblies for
Word, as it helps with the versioning issue. I would look at the following
section in the MSDN documentation titled "Office Primary Interop Assemblies"
for more information:

http://msdn2.microsoft.com/en-us/library/15s06t57(VS.80).aspx

Hope this helps.
 

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