Does anyone know how to retrieve an address from the address book?
Example:
When I use the MAPImessages1.Show command and the user selects the address from the address book, how do I get the Addresses they selected into, let say a textbox.
figured it out.. you have to create a session first, such as
MAPISession1.SignOn
With MAPIMessages1
.SessionID = MAPISession1.SessionID
.Compose
.Show
frmSendReceive.txtTo.Text = .RecipAddress
End With
MAPISession1.SignOff
..i find this somewhat annoying because when i create a session the connection dialog comes up. i'd rather have this invisible..anyone know how to do that??
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.