Please Answer (Kind of Urgent)

S

scorpion53061

I was concerned that my reference to my Word 2003 object library would
prevent users from using any application I wrote if they did not have 2003.
So I uninstalled mine, and then installed 97,2000,XP, and then reinstalled
2003.

I went to add the reference and the only one it would allow was the 8.0
object library.

Is this right? Will users on 2000,XP, and 2003 still be able to use the
software?
 
J

Jonathan West

Hi Scorpion,


scorpion53061 said:
I was concerned that my reference to my Word 2003 object library would
prevent users from using any application I wrote if they did not have 2003.
So I uninstalled mine, and then installed 97,2000,XP, and then reinstalled
2003.

I went to add the reference and the only one it would allow was the 8.0
object library.

Is this right? Will users on 2000,XP, and 2003 still be able to use the
software?

If you have set a reference to the Word 2003 object model and are using
early binding, then your program will not work with earlier versions of
Word.

Generally, if you use early binding and set a reference to the earliest
version of Word that you want to support, the reference will automatically
update the a later verion when the application is installed on a machine
with a different version. Alternatively, you can use late binding and hook
up to a copy of Word using the CreateObject command. The following article
gives an example.

Control Word from Excel
http://www.mvps.org/word/FAQs/InterDev/ControlWordFromXL.htm

One thing though. There are subtle differences in behaviour between the
different versions of Word, and it is most important that you test with each
version of Word you want your application to be compatible. Don't assume
that because it works with Word 2K that it will necssarily also work with
all later versions. If you have an MSDN subscription, you can download a
copy of Connectix Virtual PC from the subscriber downloads area and use that
to create virtual machines, each of which can be installed with a different
version of Word.
 

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