Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

unable to recognise MAPI - missing reference?

Posted on 2004-08-13
4
579 Views
Last Modified: 2010-08-05
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\Office10\msoutl.olb
ADODB         False         C:\Program Files\Common Files\System\ADO\msado21.tlb
stdole        False         C:\WINDOWS\System32\stdole2.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?

0
Comment
Question by:colinspurs
  • 2
  • 2
4 Comments
 
LVL 39

Accepted Solution

by:
stevbe earned 125 total points
ID: 11793464
Use the Microsoft CDO 1.21 Library and not the CDO for Exchnage 2000 Library in your references.

Steve
0
 
LVL 3

Author Comment

by:colinspurs
ID: 11793915
Thanks Steve,

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.
0
 
LVL 39

Expert Comment

by:stevbe
ID: 11795013
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
0
 
LVL 3

Author Comment

by:colinspurs
ID: 11797170
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.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question