Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MAPImessages and the Address book

Status
Not open for further replies.

colriver

Programmer
Oct 24, 2000
6
US
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??

da dog

^^
0--
)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top