Colin Brazier
asked on
unable to recognise MAPI - missing reference?
Hi experts,
Hopefully this will be very simple.
When I try to compile my Access code I get "user defined type not defined" referring to my line
Dim MAPIsession1 as MAPI.Session
Now, I have references to Outlook 10 Object library and CDO For Exchange 2000 Library. In fact (thanks to RockiRoads for this utility) my full references are:
Ref Name Broken Full Path
CDO False C:\Program Files\Common Files\Microsoft Shared\CDO\CDOEX.DLL
DAO False C:\Program Files\Common Files\Microsoft Shared\DAO\dao360.dll
Outlook False C:\PROGRA~1\MICROS~2\Offic e10\msoutl .olb
ADODB False C:\Program Files\Common Files\System\ADO\msado21.t lb
stdole False C:\WINDOWS\System32\stdole 2.tlb
Access False C:\Program Files\Microsoft Office\Office10\msacc.olb
VBA False C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\VBE6.DLL
I'm using Outlook 2002 on XP.
Any ideas?
Hopefully this will be very simple.
When I try to compile my Access code I get "user defined type not defined" referring to my line
Dim MAPIsession1 as MAPI.Session
Now, I have references to Outlook 10 Object library and CDO For Exchange 2000 Library. In fact (thanks to RockiRoads for this utility) my full references are:
Ref Name Broken Full Path
CDO False C:\Program Files\Common Files\Microsoft Shared\CDO\CDOEX.DLL
DAO False C:\Program Files\Common Files\Microsoft Shared\DAO\dao360.dll
Outlook False C:\PROGRA~1\MICROS~2\Offic
ADODB False C:\Program Files\Common Files\System\ADO\msado21.t
stdole False C:\WINDOWS\System32\stdole
Access False C:\Program Files\Microsoft Office\Office10\msacc.olb
VBA False C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\VBE6.DLL
I'm using Outlook 2002 on XP.
Any ideas?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The name (as it appears in the References dialog box) is Microsoft CDO 1.21 Library.
If you don't have it, I don't think it is a simple 1 file download because the library itself depends on other libraries (GAPI.dll?). You might be able to find definative information at slipstick.com
Steve
If you don't have it, I don't think it is a simple 1 file download because the library itself depends on other libraries (GAPI.dll?). You might be able to find definative information at slipstick.com
Steve
ASKER
Thanks Steve - I actually got it from http://www.ssw.com.au/ssw/kb/KB.aspx?KBID=Q757100
but have bookmarked the slipstick site also.
Cheers, Colin.
but have bookmarked the slipstick site also.
Cheers, Colin.
ASKER
I don't see the CDO 1.21 Library in the references list - what's its name - will I have it or do I need to download it?
Colin.