Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / January 2005

Tip: Looking for answers? Try searching our database.

Missing MAPIForms Library needed to make SendObject work

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hallie Schroeder - 31 Dec 2004 19:05 GMT
I found the KB article on the problems with using SendObject (Q260819) more
than once in a procedure in Access 2000. I used their replacement procedure,
& though I'm nowhere near clever enough to understand how the procedure
works, I did get it to operate successfully.  Then I got a new computer & the
CDO 1.21 and MAPIForm Object libraries went missing.  I found the CDO 1.21
library but can't figure out where to get the MAPIForm library.  The code
won't compile without this library. It errors out on trying to dimension a
MAPI.Session.  Can anyone help?
Dan Artuso - 31 Dec 2004 20:17 GMT
Hi,
The error must be elsewhere because CDO (MAPI)  is the library that contains the
session object. Check it out in the Object Browser.
In fact, I'm quite sure you don't need the MAPIForm library.

--
HTH
Dan Artuso, Access MVP

> I found the KB article on the problems with using SendObject (Q260819) more
> than once in a procedure in Access 2000. I used their replacement procedure,
[quoted text clipped - 4 lines]
> won't compile without this library. It errors out on trying to dimension a
> MAPI.Session.  Can anyone help?
david epsom dot com dot au - 04 Jan 2005 08:16 GMT
Remove the reference to the MAPIForms library. It may not be
in use.

AFAIK, the file is called MAPIfVBX.TLB  It is a very old library
for VB4, to enable you to use MAPIforms.VBX from VB4_32, with
very old copies of the Exchange Client (later replaced by MS
Outlook). It was included in Office 97, but I think that was
for backward compatibility.

(david)

> I found the KB article on the problems with using SendObject (Q260819) more
> than once in a procedure in Access 2000. I used their replacement procedure,
[quoted text clipped - 4 lines]
> won't compile without this library. It errors out on trying to dimension a
> MAPI.Session.  Can anyone help?
Hallie Schroeder - 10 Jan 2005 16:41 GMT
Thanks all.  I assumed the problem was with the missing MAPIForms library
because at the line: “Private MAPISession As MAPI.Session,” I’m suddenly
getting a compile error that there’s a missing project or library.  I’m only
using this work-around procedure because of the bug in Access 2000 that
caused SendObjects to fail if used more than once in a procedure – no error
message, it just doesn’t create the e-mail after the first time. I’m guessing
that Microsoft fixed the problem with SendObjects in later versions of Access
2000.    SendObjects seems to work perfectly fine on my newer release of
Access 2000 (9.0 6926 SP-3) and continues not to work on my colleagues’ older
version (9.0 3821 SR-1).  

> Remove the reference to the MAPIForms library. It may not be
> in use.
[quoted text clipped - 18 lines]
> > won't compile without this library. It errors out on trying to dimension a
> > MAPI.Session.  Can anyone help?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.