Posted to microsoft.public.excel.programming
|
|
Outlook 11 Outlook 10 Object Library Compatibility Issues
Thanks for the additional information Tom,
My interpertation of the KB article is that having the MSOUTL.olb file in the ..\Office11 folder should not interfere with the Office10 components.
I'll test and post back.
Regards,
Paul Mac.
"Tom Ogilvy" wrote:
http://support.microsoft.com/default...94&Product=out
Outlook 2003 and Outlook 2002 may crash after you install Office XP on a
computer that has Office 2003 installed
Seems to indicate this will be problematic. It says:
Important Microsoft does not support running multiple versions of Outlook on
a single computer at the same time.
the last part, "at the same time" is ambiguous. Does it mean trying to have
both executing or does it mean installed on the same computer and used
interchangeable so to speak.
This article about multiple versions of Office seems clearer:
http://support.microsoft.com/default...56&Product=ofw
Running Multiple Versions of Microsoft Office with Office 2003
Microsoft Office Outlook 2003 cannot coexist with any earlier version of
Microsoft Outlook. If you choose to install Office Outlook 2003, the Setup
program will not allow you to keep any earlier version.
--
Regards,
Tom Ogilvy
"Paul Mac" wrote in message
...
Thanks Bob,
Just answered my own question, by replacing all instances of
Outlook.Application with the late bind, it removed the reference.
Will adding the Office11 version of the Outlook Library to a new directory
(..\Office11\MSOUTL.olb) cause any conflicts with the Version 10 file?
It's just as a temporary measure as I go through all of the code and
update it.
Thanks again,
Paul.
"Bob Phillips" wrote:
Paul,
Try using late binding.
Instead of a declaration like
Dim olApp as Outlook.Application
use
Dim olApp As Object
all other Outlook objects should be defined as Objects as well
and instantiate it like this
Set olApp = CreateObject("Outlook.Application")
rather than
Set olApp = New Outlook.Application
You will need to use values rather than Outlook constants as well.
There is a web page describing this at
xldynamic.com/source/xld_Early_Late.html
--
HTH
Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
"Paul Mac" wrote in message
...
Hi All,
I'm having a porblem with a workbook that uses the Outlook Object
Library
(MSOUTL.olb). In particular, the wb has references to the Version 10
file.
Now that a new computer on the network has Version 11, it is causing a
few
incompatibility issues.
In particular, when the workbook, is saved on the machine that is
sporting
OL2003 it saves the references to OLB version 11. When a user on version
10
opens the file, the reference is missing, as "C:\Program Files\Microsoft
Office\Office11\MSOUTL.olb" does not exist only "..Office10\MSOUTL.olb"
I've never had this sort of problem with version changes from 2000-2,
so
what is the cause.
Will copying the library onto the local machine resolve the issue or
is
this not advisable.
Your advice on this one is greatly appreciated.
Paul Mac.
|