S
Simon Woods
Hi
I previously posted asking about how to test, programmatically, to see
whether MAPI was supported on the machine my software was running on.
Zoury helpfully offered ...
Function SupportsMAPI() As Boolean
Dim o As Object
On Error Resume Next
Set o = CreateObject("MAPI.Session")
SupportsMAPI = Not o Is Nothing
End Function
However, although this test works fine on my own machine
(Win2K/Outlook2000), it fails (i.e. returns false) on other machines,
running various versions of Windows (XP/Win2K) and Outlook (2000/2002).
Can anyone offer why this may be so?
Thanks
Simon
I previously posted asking about how to test, programmatically, to see
whether MAPI was supported on the machine my software was running on.
Zoury helpfully offered ...
Function SupportsMAPI() As Boolean
Dim o As Object
On Error Resume Next
Set o = CreateObject("MAPI.Session")
SupportsMAPI = Not o Is Nothing
End Function
However, although this test works fine on my own machine
(Win2K/Outlook2000), it fails (i.e. returns false) on other machines,
running various versions of Windows (XP/Win2K) and Outlook (2000/2002).
Can anyone offer why this may be so?
Thanks
Simon