Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mail Merge - MSWORD.OLB (10.x vs 11.x)

Status
Not open for further replies.

techkate

Programmer
Feb 23, 2004
118
US
I am trying to update my mail merge code (vb6) so that users who have Word 2003 can perform a mail merge successfully. Currently, this does not work for Word 2003 users, it only works in Word 2000/2002.

This is probably because the VB Project references MSWORD.OLB - which is the Microsoft Word 10.0 Object Library. I know for 2003 compatibility, I must use the Microsoft Word 11.0 Object Library.

However, is 11.0 backwards compatible? If not, does that mean that I have to reference 10.0 for Word 2000/2002 users and 11.0 for Word 2003 users? With early binding, is that possible? Or should I use late binding? Is there any documentation out there regarding this? I've tried googling but no luck.

Any guidance is appreciated!

Thanks,

Kate
 
Personally, I would go ahead and use the 11.0 library, and test it against 2000 clients. You shouldn't have a problem. After all, Office 2003 runs fine in a Win2000 environment, at least on my machine it does. If you're concerned, develop the parts you're concerned about and test them. But I wouldn't lose sleep over it.

HTH

Bob
 
Won't that ONLY work if your clients all have Office 2003 installed? If they haven't then the reference will be broken - you can't redistribute the .OLB as far as I know.

You may do better using late binding here.

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Ouch. You have a point there! Of course the Object Library is tied to the Office product. Sorry Kate, johnwm is quite right.

Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top