N
News.Microsoft.com
In my VB application I just added the capability of writing to a Word
document. I have a reference to
Office11\msword.old in the project. My client is using Office XP. On my
machine, everything works fine. When I install the latest version of the
EXE using this new feature on the client's machine, it crashes saying
"ActiveX component can't create object". It occurs at the line,
Set MyWord = New Word.Application
So I surmise the problem is because they are running a different version of
Word and have different libraries. What files do I need to give them so
that they can use the feature of hooking up with Word? Do I need to have
them upgrade to the same version of Office I am using? Or is it a simple
matter of copying a few dlls/olb files and registering them on their
machines? When I look at Depends that comes with Enterprise, I don't even
see the references to the Office Dlls.
Thanks
Bill
document. I have a reference to
Office11\msword.old in the project. My client is using Office XP. On my
machine, everything works fine. When I install the latest version of the
EXE using this new feature on the client's machine, it crashes saying
"ActiveX component can't create object". It occurs at the line,
Set MyWord = New Word.Application
So I surmise the problem is because they are running a different version of
Word and have different libraries. What files do I need to give them so
that they can use the feature of hooking up with Word? Do I need to have
them upgrade to the same version of Office I am using? Or is it a simple
matter of copying a few dlls/olb files and registering them on their
machines? When I look at Depends that comes with Enterprise, I don't even
see the references to the Office Dlls.
Thanks
Bill