Popping up Outlook contact via API

V

voipfc

Is there a method of calling up a contact record in Outlook if a
unique ID of the contact is known through some API?

Is there some DDE method in particular?
 
S

Sue Mosher [MVP-Outlook]

You'd use the Namespace.GetItemFromID method from the Outlook object model.
 
V

voipfc

You'd use the Namespace.GetItemFromID method from the Outlook object model.

Is the ID included in the list of items exported whether it is via
ODBC or exported to Microsoft Access?

Does this method automatically popup the item?

The Outlook contact database in question is in an Exchange public
folder - will that make a difference?
 
S

Sue Mosher [MVP-Outlook]

You'd use the Namespace.GetItemFromID method from the Outlook object model.
Is the ID included in the list of items exported whether it is via
ODBC or exported to Microsoft Access?

Not unless you write your own export code to include it.
Does this method automatically popup the item?

No, it returns the item for processing by your code. If you want to display the item, you'd call the Display method.
The Outlook contact database in question is in an Exchange public
folder - will that make a difference?

Yes, you should include the StoreID value for the public folder store as the second parameter for GetItemFromID.
 
V

vfclists

Not unless you write your own export code to include it.




No, it returns the item for processing by your code. If you want to display the item, you'd call the Display method.




Yes, you should include the StoreID value for the public folder store as the second parameter for GetItemFromID.

If I add user defined fields to the contact daatabase will the new
fields be readable as a property from the contacts object
 

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