Click to See Complete Forum and Search --> : Office 2000


HoBro
April 11th, 2001, 09:23 AM
Hi,

following problem: i've written a vb program which opens word documents. i'm running win2000 + office2000. when a user, who has office97 installed, tries to execute the program, he'll get a dr. watson error message and the program closes. why doesn't it work ? can anybody help me ?

UU4U
April 11th, 2001, 10:26 AM
Hi,

It doesn't work because Office 2000 uses a higher version of object libraries. You're using "Microsoft Word 9.0 Object Library" and Office '97 uses version 8.0

A possible solution: make a complete packet with all dll and ocx files! Use Package & Deployment Wizard from your Visual Basic Tools

CU
UU

HoBro
April 12th, 2001, 03:22 AM
Thank you very much for your answer.
I just copied the right object libaries to my machine then I've set the necessary references. And now everything works just fine. You saved my life. Thanks again !

HoBro