Word 2003 breaks application

L

Laurel

The method MailMerge.OpenDataSource has two more parameters in 2003 than in
it used to. This means that our application can't find the function.

1 - Is this a common experience with releases of Office? I'm brand new at
working with OLE objects - calling Office functions.

2 - What is the best practice for dealing with something like this?
 
C

Cindy M -WordMVP-

Hi Laurel,
The method MailMerge.OpenDataSource has two more parameters in 2003 than in
it used to. This means that our application can't find the function.

1 - Is this a common experience with releases of Office? I'm brand new at
working with OLE objects - calling Office functions.
It does happen that MS adds parameters to methods, yes. They don't always
cause incompatibility (as long as you're not using a language like C#). This
is the only one I know of that actually changes the way the method behaves
WITHOUT the parameter.
2 - What is the best practice for dealing with something like this?
Thoroughly test your application with each new version of Word, then work out
how to fix it.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top