View Single Post
  #5  
Old October 21st 07, 11:01 PM posted to microsoft.public.outlook.program_vba
vfclists
external usenet poster
 
Posts: 4
Default Popping up Outlook contact via API

On Oct 5, 10:48 pm, "Sue Mosher [MVP-Outlook]"
wrote:
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.



--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"voipfc" wrote in oglegroups.com...
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?


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

Ads