RoLaAus
asked on
MAPI question
I want to get a dialog box like the 'File open' for the 'address book' and this is the code that MSDN suggests - however, they do not get the fundamentals, but rather dive right into the code
my question is, what Object Reference do I need in order to get MAPI to work?
Dim objSession As MAPI.Session, obRecipColl As Recipients
Set objSession = CreateObject("MAPI.Session ")
objSession.Logon
my question is, what Object Reference do I need in order to get MAPI to work?
Dim objSession As MAPI.Session, obRecipColl As Recipients
Set objSession = CreateObject("MAPI.Session
objSession.Logon
In order to get MAPI to work, you must have the Microsoft MAPI controls installed. There is MSMAPI32.OCX in the file.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks I did need to change the
Dim objSession As MAPI.whatever
to
Dim objSession As Object
Dim objSession As MAPI.whatever
to
Dim objSession As Object
ASKER
okay bonus question - if you want I can post it as a new one (considering this one is closed), I figured I might get as quick a response if I had this one send out an e-maiil as opposed to just posting a new question and waiting for people to spot it
anyways, my question is still concerning the MAPI -- I established a connection fine, and it causes the address book to pop-up, but I can't retrieve anything more than the display name -- I was hoping to find the place where I can get all the properties and procedures for MAPI
I think I had it pulled up once on my MSDN but I can't seem to find the right keyword search for it again
anyways, my question is still concerning the MAPI -- I established a connection fine, and it causes the address book to pop-up, but I can't retrieve anything more than the display name -- I was hoping to find the place where I can get all the properties and procedures for MAPI
I think I had it pulled up once on my MSDN but I can't seem to find the right keyword search for it again
https://www.experts-exchange.com/jsp/qShow.jsp?ta=msaccess&qid=10306570
Hope this helps,
Wes