Using equivlent Msword8.olb in Office 2000 
Author Message
 Using equivlent Msword8.olb in Office 2000

I have an application that uses Word8 that shipped with Office
97.  I don't have office 2000 and really don't want to buy it if
I can help it.   But do want the application to work with Office
2000.   Right now my program reference is  Msword8.olb and
uses word.application and I am thinking that if I have two
installs one for 97 that references Msword8.olb  and one
for 2000 that references MswordX.olb(and at this point I
don't know what that is, if someone could tell me that would
be nice).  Can anyone see why I can't just edit the reference
and do a build and have it work???


Mon, 10 Nov 2003 21:48:32 GMT  
 Using equivlent Msword8.olb in Office 2000
The best way to ensure cross-version compatability is to late bind.

Instead of having a reference to Word, remove the reference and use CreateObject("Word.Application").  Change your variables from Word.Application, Word.Document etc. to Object.

It's slower, but it will ensure better compatibility


Quote:
> I have an application that uses Word8 that shipped with Office
> 97.  I don't have office 2000 and really don't want to buy it if
> I can help it.   But do want the application to work with Office
> 2000.   Right now my program reference is  Msword8.olb and
> uses word.application and I am thinking that if I have two
> installs one for 97 that references Msword8.olb  and one
> for 2000 that references MswordX.olb(and at this point I
> don't know what that is, if someone could tell me that would
> be nice).  Can anyone see why I can't just edit the reference
> and do a build and have it work???



Mon, 10 Nov 2003 22:58:07 GMT  
 Using equivlent Msword8.olb in Office 2000
Thank you.   Your right on both accounts, it works slick but slow.
But I will take it all day long, the alternative was making me a
little ill.

Thanks again.

Quote:

>The best way to ensure cross-version compatability is to late bind.

>Instead of having a reference to Word, remove the reference and use =
>CreateObject("Word.Application").  Change your variables from =
>Word.Application, Word.Document etc. to Object.

>It's slower, but it will ensure better compatibility



>> I have an application that uses Word8 that shipped with Office
>> 97.  I don't have office 2000 and really don't want to buy it if
>> I can help it.   But do want the application to work with Office
>> 2000.   Right now my program reference is  Msword8.olb and
>> uses word.application and I am thinking that if I have two
>> installs one for 97 that references Msword8.olb  and one
>> for 2000 that references MswordX.olb(and at this point I=20
>> don't know what that is, if someone could tell me that would
>> be nice).  Can anyone see why I can't just edit the reference
>> and do a build and have it work???
>>=20
>>=20



Tue, 11 Nov 2003 03:14:16 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Differences between MSWORD9.OLB and MSWORD8.OLB

2. Differences between MSWORD9.OLB and MSWORD8.OLB

3. mso97.dll and msword8.olb

4. Distributing MSWORD8.olb with VB6-Application?

5. RTF, msword8.olb, and clipboard problem in VB5

6. MSWORD8.OLB: problem with VB6

7. Problem creating snapshot using Access 2000 and then viewing in office 97

8. Office 2000 and Office XP question

9. Can COM+ be used from Office 2000 VBA?

10. Office XP Run Time Error after upgrade from Office 2000

11. Office 97 Vs. Office 2000

12. Behavior under Office 2000 vs. Office XP

 

 
Powered by phpBB® Forum Software