Missing MAPIForms Library needed to make SendObject work

H

Hallie Schroeder

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?
 
D

Dan Artuso

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.
 
D

david epsom dot com dot au

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)
 
H

Hallie Schroeder

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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top