H
Hugo Faber
Hi,
I have a VB6 application which is able to create report documents
using Word. Automation and early binding is used. I have compiled the
program using the Microsoft Word 8 library (msword8.olb). The
application has been installed on 2 machines, one with Office 97, the
other with Office 2002.
When I run the application, Word is started ( so there is no problem
finding the word object) and the report generation begins...
After a while, I got the infamous error message 5 "invalid argument or
procedure call" After some testing it seems that the application fails
when it has to use the Range.Find object and also the updating of a
table of contents fails.
Any general or specific hints,clues?
Hugo
I have a VB6 application which is able to create report documents
using Word. Automation and early binding is used. I have compiled the
program using the Microsoft Word 8 library (msword8.olb). The
application has been installed on 2 machines, one with Office 97, the
other with Office 2002.
When I run the application, Word is started ( so there is no problem
finding the word object) and the report generation begins...
After a while, I got the infamous error message 5 "invalid argument or
procedure call" After some testing it seems that the application fails
when it has to use the Range.Find object and also the updating of a
table of contents fails.
Any general or specific hints,clues?
Hugo