You might be missing the interop DLL for Word. Either you're using a primary
interop assembly from MS, or you added a reference to Word, and that DLL
needs to be deployed.

Signature
Phil Wilson [MVP Windows Installer]
Here is what I alreday did before sending the previous
post. I created a setup project. In this setup project
Interop.word.dll is included. After installing the
program with this setup Interop.word.dll was placed in
the startup directory of the application. When the
problem occured I presumed it was not registered so I
tried to with: regsvr32 Interop.word.dll. But then I got
the message:
interop.word.dll was loaded, but the dllRegisterServer
entry point was not found.
DllRegiserServer may not be exported, or a corrupt
version of interop.word.dll may be in memory. Consider
using PView to detect and remove it.
I figure I need to do something else in or with my
deployment project, but I just don't know what?!
Gtz,
John
>-----Original Message-----
>You might be missing the interop DLL for Word. Either you're using a primary
>interop assembly from MS, or you added a reference to Word, and that DLL
>needs to be deployed.
John Stegman - 15 Sep 2003 12:44 GMT
I partly solved the problem myself. After testing the
program on a machine with exactly the same operating
system (Win XP) and Offcie version (XP), I realised that
referencing Word XP on a machine with Word 2000 doesn't
work. So now I have to find a way to reference different
versions of Word from my application?! Because the end-
users have Word2000 or Word XP.
Grtz,
John
>-----Original Message-----
>Here is what I alreday did before sending the previous
[quoted text clipped - 24 lines]
>
>.
John Stegman - 15 Sep 2003 14:17 GMT
The answer to my last question is: Use latebindig!!
Instead of using:
Dim WordAp as new word.Application
WordApp = New Word.ApplicationClass()
to use the reference to the version of the Microsoft Word
Object Library in your references
You use:
Dim WordApp As object
WordApp = CreateObject("Word.Application")
In the latter case the program seeks the word library at
runtiem and gets the right Word object library. At least
that is how I understand it.
Also see:
http://www.mvps.org/word/FAQs/InterDev/EarlyvsLateBinding.
htm for more information.
Grtz,
John
>-----Original Message-----
>I partly solved the problem myself. After testing the
[quoted text clipped - 39 lines]
>>
>.
Phil Wilson - 15 Sep 2003 19:35 GMT
Late binding is very convenient, that's true, it saves a lot of the grief that
you saw.

Signature
Phil Wilson [MVP Windows Installer]
----
> The answer to my last question is: Use latebindig!!
> Instead of using:
[quoted text clipped - 60 lines]
> >>
> >.