V
Victor Bravo
The following code works on standalone PCs that once had Office 2000 Pro
installed but then had a NEW (not upgrade) installation of Office 2003 Pro
with SP2 installed. The OS is XP Pro SP2.
When put onto a client PC running Office Pro 2003 SP2 on XP Pro SP2 where
Office 2000 had never existed "Automation Error 2147024770" occurs.
I have followed the steps in Article 327219 on the client and the Exchange
Server machines but the only difference is the message changes to "Unable to
inialise Outlook application or NameSpace object variables.
Code example in my function:
InitialiseOutlook() As Boolean
Dim olApp As Outlook.Application
Dim olNS As Outlook.NameSpace
Set olApp = New Outlook.Application
Set olNS = olApp.GetNamespace("MAPI")
InitialiseOutlook = True
End Function
I suspect a file installed by Office 2000 remains in the System folder and
Office 2003 does not install it and so automation fails.
Has anyone any ideas, please?
Thanks
Ian
installed but then had a NEW (not upgrade) installation of Office 2003 Pro
with SP2 installed. The OS is XP Pro SP2.
When put onto a client PC running Office Pro 2003 SP2 on XP Pro SP2 where
Office 2000 had never existed "Automation Error 2147024770" occurs.
I have followed the steps in Article 327219 on the client and the Exchange
Server machines but the only difference is the message changes to "Unable to
inialise Outlook application or NameSpace object variables.
Code example in my function:
InitialiseOutlook() As Boolean
Dim olApp As Outlook.Application
Dim olNS As Outlook.NameSpace
Set olApp = New Outlook.Application
Set olNS = olApp.GetNamespace("MAPI")
InitialiseOutlook = True
End Function
I suspect a file installed by Office 2000 remains in the System folder and
Office 2003 does not install it and so automation fails.
Has anyone any ideas, please?
Thanks
Ian