B
Bob Lay
Our organization recently did an upgrade of the Office
suite from 97 to XP. The upgrade went well and the
majority of the Access databases converted fine to the
Access 2000 format. We have a database that seems to have
converted properly but is giving us trouble with a Word
10.0 object library reference. The database that is giving
us problems errors out when trying to run the following
statement "Application.Selection.Find.Text = strField",
the error message states that this is an Invalid procedure
call. I had one of our Software Engineers debug the
database and they stated that this command should work
with the Microsoft Word 10.0 object library reference. To
further troubleshoot the problem, I removed the Microsoft
Word 10.0 object library reference and added the Microsoft
Word 8.0 object library reference. After this change, the
database function perfect and I felt that I could copy the
Microsoft Word 8.0 object library (msword8.olb) to each
workstation and everything would be fine. Unfortunately
the workstations are still trying to use the Microsoft
Word 10.0 object library (msword.olb) and there is no sign
of the Microsoft Word 8.0 object library when scrolling
through the list of references.
My question: Once a reference is added to a database, in
my case a reference to Microsoft Word 8.0 object library,
shouldn't this reference appear the same on every
workstation that opens the database, especially if the
actual library is physically in the same location on each
workstation? Is there a way to register object libraries
similar to registering .dll's, so Access 2002 knows that
the library exists? Is there known problems with the
Microsoft Word 10.0 object library and a possible fix? I
would hate to have to open this database from every
computer (350) to make this database function properly.
Thanks,
Bob Lay
suite from 97 to XP. The upgrade went well and the
majority of the Access databases converted fine to the
Access 2000 format. We have a database that seems to have
converted properly but is giving us trouble with a Word
10.0 object library reference. The database that is giving
us problems errors out when trying to run the following
statement "Application.Selection.Find.Text = strField",
the error message states that this is an Invalid procedure
call. I had one of our Software Engineers debug the
database and they stated that this command should work
with the Microsoft Word 10.0 object library reference. To
further troubleshoot the problem, I removed the Microsoft
Word 10.0 object library reference and added the Microsoft
Word 8.0 object library reference. After this change, the
database function perfect and I felt that I could copy the
Microsoft Word 8.0 object library (msword8.olb) to each
workstation and everything would be fine. Unfortunately
the workstations are still trying to use the Microsoft
Word 10.0 object library (msword.olb) and there is no sign
of the Microsoft Word 8.0 object library when scrolling
through the list of references.
My question: Once a reference is added to a database, in
my case a reference to Microsoft Word 8.0 object library,
shouldn't this reference appear the same on every
workstation that opens the database, especially if the
actual library is physically in the same location on each
workstation? Is there a way to register object libraries
similar to registering .dll's, so Access 2002 knows that
the library exists? Is there known problems with the
Microsoft Word 10.0 object library and a possible fix? I
would hate to have to open this database from every
computer (350) to make this database function properly.
Thanks,
Bob Lay