Hi,
In a MsAccess application we create a mailmessage and send it out using MsOutlook object model.
Part of the code:
We run MsAccess application on various machines, using Windows 2K and XP.
We run Office 2000 with a Outlook 2003 (installed on top of the Outlook 2000 in Office 2000) with SP1
On these machines we have no problems with the application.
NOW we bought two new machines with XP and BasisOffice 2003 (Word + Excel + Outlook) installed.
On these two machines we have always problems in:
Set objOutLook = CreateObject("Outlook.Application").
It returns a 'Automation Error'.
I tried:
1. Early binding
2. Late binding
3. Installed the separate Outlook 2003, which we also run on the other XP machines (those we also run Off2K) on top of the BasicOffice.
No matter what situation. Always a problem in this CreateObject.
Any sugestion on this problem? The users on these two machines are getting irritated. I am getting desperate.
Thanks,
Smitan
In a MsAccess application we create a mailmessage and send it out using MsOutlook object model.
Part of the code:
Code:
On Error GoTo GetOutLook_Error
GetOutLook = False
Set objOutLook = CreateObject("Outlook.Application")
If Err Then
MsgBox "Error"
Exit Function
End If
Set objNameSpace = objOutLook.GetNamespace("MAPI")
If Err Then
MsgBox "Error"
Exit Function
End If
GetOutLook_Exit:
GetOutLook = True
Exit Function
We run Office 2000 with a Outlook 2003 (installed on top of the Outlook 2000 in Office 2000) with SP1
On these machines we have no problems with the application.
NOW we bought two new machines with XP and BasisOffice 2003 (Word + Excel + Outlook) installed.
On these two machines we have always problems in:
Set objOutLook = CreateObject("Outlook.Application").
It returns a 'Automation Error'.
I tried:
1. Early binding
2. Late binding
3. Installed the separate Outlook 2003, which we also run on the other XP machines (those we also run Off2K) on top of the BasicOffice.
No matter what situation. Always a problem in this CreateObject.
Any sugestion on this problem? The users on these two machines are getting irritated. I am getting desperate.
Thanks,
Smitan