Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Access 2003 VBA Programmer's Reference
This is the forum to discuss the Wrox book Access 2003 VBA Programmer's Reference by Patricia Cardoza, Teresa Hennig, Graham Seach, Armen Stein; ISBN: 9780764559037
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Access 2003 VBA Programmer's Reference section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 18th, 2010, 08:44 AM
Registered User
 
Join Date: May 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Automation Error - Library Not Registered

Please Help!!!! When I run the code below in a Windows 7 environment I get an error: Automation Error - Library Not Registered. This code works great in Windows XP with Access 2003. I think this has something to do with a missing DLL file but I am not sure. Does anybody know how to resolve this problem?


Set olApp = CreateObject("Outlook.Application")

Set olNS = olApp.GetNamespace("MAPI")
Set olfolder = olNS.GetDefaultFolder(olFolderInbox)
Set olMailItem = olfolder.Items.Add("IPM.Note")

Thank you for any help you can give.
 
Old November 28th, 2011, 10:31 AM
Registered User
Points: 42, Level: 1
Points: 42, Level: 1 Points: 42, Level: 1 Points: 42, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2011
Location: Germany
Posts: 6
Thanks: 0
Thanked 3 Times in 3 Posts
Default

You should check the references in your database. Search for the outlook reference (Microsoft Outlook ..... Object library) and add it to your references.
That should help.




Similar Threads
Thread Thread Starter Forum Replies Last Post
Error : Registered JIT debugger is not available. kvgujrathi VS.NET 2002/2003 1 January 3rd, 2010 10:56 AM
Automation Error nagarajan123 Access 0 April 30th, 2008 09:22 AM
runtime automation error library not registered deco Pro VB 6 2 July 31st, 2007 08:09 AM
ASP Page Error '8002801d' Library not registered. jfelgueiras Classic ASP Components 0 February 13th, 2006 12:44 PM
ASP Error 8002801d "Library Not Registered" jfelgueiras Classic ASP Basics 0 February 13th, 2006 12:38 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.