Solved

Getting an Adress from the Address Book

Posted on 2001-06-20
3
148 Views
Last Modified: 2010-05-02
I have a requirement to copy an address from the Address Book into a variable

So far I can open the address book using

On Error Resume Next
MapiMessages.Show

which opens the address book.

How can I put the selected address into a variable

my messaging system is MS Exchange

0
Comment
Question by:mutrus
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
Microsoft earned 100 total points
ID: 6213038
go here my friend
http://www.planetsourcecode.com/xq/ASP/txtCodeId.3167/lngWId.1/qx/vb/scripts/ShowCode.htm

download that code

you can build of that or take it apart. that should show you how to store the addresses in to variables.

hope this helps

cheers
Andy

0
 

Author Comment

by:mutrus
ID: 6216742
Hi Andy,
Andy

Great piece of code but for the life of me I can't figure out how to use pieces of it for what I require.

Basically all I need to do is to show the Address Book, select an address and when the Address Book OK button is pressed store that address in a textbox

I tried your GetRC and SetRC but can't get it to work. Your complete application works ok though.

The problem I have is that the Address Book is opening but I have no email open in the background.

Ideas please ???
0
 

Author Comment

by:mutrus
ID: 6224429
It took a while but finally I got it to work

Tnks
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question