View Single Post
  #2  
Old January 6th 07, 11:39 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default OLK2007 : The Oper Failed : Application.CreateObject("MAPI.Session

You would need to download and install the CDO component, which is not included with Outlook 2007. http://www.microsoft.com/downloads/d...displaylang=en

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Bill Billmire" wrote in message ...
Hello,

In previous versions of Outlook (e.g., 2000, XP, 2003) the statement
Application.CreateObject("MAPI.Session") would correctly return the
MAPI.Session.
In Outlook 2007 this statement errors out indicating "The Operation Failed".

What can I do to make it work in Outlook 2007?

Thanks in advance...
--
Bill Billmire

Ads