Quote:
Is there at least some "upward" version independency i.e. would the inc file derived from the MSWORD9.OLB library file also work with Word 10 or 11?
Only if you use OBJECT CALL/GET/SET/LET and late binding. As usual, M$ has broken his own rules by renaming methods such SaveAs as SaveAs2000 and adding a new SaveAs method.
Is there at least some "upward" version independency i.e. would the inc file derived from the MSWORD9.OLB library file also work with Word 10 or 11?
Only if you use OBJECT CALL/GET/SET/LET and late binding. As usual, M$ has broken his own rules by renaming methods such SaveAs as SaveAs2000 and adding a new SaveAs method.
That said, many methods & properties remain unchanged. Depending on which you call, there may be no problems.
When "inconsistencies" arise, I have found that you can maintain Int__Application/Int__Document and IDISPATCH references to the same Word applicication/document. That way you minimize the need for OBJECT CALL/GET/SET/LET calls to only the changed methods and properties.
Ron
Leave a comment: