A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Popping up Outlook contact via API



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 1st 07, 08:36 PM posted to microsoft.public.outlook.program_vba
voipfc
external usenet poster
 
Posts: 3
Default Popping up Outlook contact via API

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?

Ads
  #2  
Old October 1st 07, 09:20 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Popping up Outlook contact via API

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

--
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 message ups.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?

  #3  
Old October 5th 07, 08:52 PM posted to microsoft.public.outlook.program_vba
voipfc
external usenet poster
 
Posts: 3
Default Popping up Outlook contact via API

On Oct 1, 9:20 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?

Does this method automatically popup the item?

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



--
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?



  #4  
Old October 5th 07, 10:48 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Popping up Outlook contact via API

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?



  #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

  #6  
Old October 21st 07, 11:32 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Popping up Outlook contact via API

If you add a field to an Outlook folder and set a value for an item, that value can be read through the the ContactItem.UserProperties collection. See http://www.outlookcode.com/article.aspx?ID=38

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


"vfclists" wrote in message ups.com...

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

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i stop my eula popping up everytime I log on to outlook peterw Outlook - General Queries 2 March 22nd 08 03:35 PM
outlook contact screen popping up while typing Robert network admin Outlook - Using Contacts 0 August 17th 07 02:06 AM
Payment required. popping up when trying to activate outlook via m george Outlook - Installation 1 June 25th 07 12:30 AM
Outlook 2007 beta - reminders not popping up John Outlook - Calandaring 0 September 18th 06 05:22 PM
outlook keeps popping up every 15 seconds when in other programs Omazanne Outlook - General Queries 1 July 24th 06 04:49 PM


All times are GMT +1. The time now is 02:30 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.