Home All Groups Group Topic Archive Search About

The blessed Office 2007 pre-install trial version!

Author
10 Mar 2009 9:16 PM
Laphan
Hi All

I'm using a VB6 app to connect to MS Word and produce/populate a lovely doc
of Word type origins.

This worked fine when the user simply installed Office 2000, 2003, etc onto
their laptop, but a number of laptops are coming with an Office 2007 trial
pre-installed, which the user has no idea about, and when they subsequently
re-install their Office 2000, 2003 whatever on it, my app throws a wobbler
because it doesn't know which version of Word to use.  The error is usually
a problem with 'Automatiion'??

If the user only has one version of Office on their laptop/PC it works fine
and I still want my app to simply use any version of Word it can find, it
currently works with Office 2000, XP, 2003 and 2007 without issues -
providing that only one variant is installed, but is there anyway I can sort
of get round this possible dual install of Word versions?

For some reason a really mickey mouse (and old) app, not sure what it was
written in, doesn't have this problem at all - it just seems to pick a
version automatically - even though it doesn't really know one from the
other.

Any ideas?

Many thanks.

Author
10 Mar 2009 9:54 PM
Doug Robbins - Word MVP on news.microsoft.com
The MM app probably uses Late Binding.

See the article "Early vs. Late Binding" at:

http://www.word.mvps.org/FAQs/InterDev/EarlyvsLateBinding.htm


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

Show quoteHide quote
"Laphan" <please@dont.spam.com> wrote in message
news:OEjyfWcoJHA.3876@TK2MSFTNGP02.phx.gbl...
> Hi All
>
> I'm using a VB6 app to connect to MS Word and produce/populate a lovely
> doc
> of Word type origins.
>
> This worked fine when the user simply installed Office 2000, 2003, etc
> onto
> their laptop, but a number of laptops are coming with an Office 2007 trial
> pre-installed, which the user has no idea about, and when they
> subsequently
> re-install their Office 2000, 2003 whatever on it, my app throws a wobbler
> because it doesn't know which version of Word to use.  The error is
> usually
> a problem with 'Automatiion'??
>
> If the user only has one version of Office on their laptop/PC it works
> fine
> and I still want my app to simply use any version of Word it can find, it
> currently works with Office 2000, XP, 2003 and 2007 without issues -
> providing that only one variant is installed, but is there anyway I can
> sort
> of get round this possible dual install of Word versions?
>
> For some reason a really mickey mouse (and old) app, not sure what it was
> written in, doesn't have this problem at all - it just seems to pick a
> version automatically - even though it doesn't really know one from the
> other.
>
> Any ideas?
>
> Many thanks.
>
>