![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
i have written a vsto program to retrive the contact details from outlook contacts.My outlook contact contains two types of contact. 1)contacts which are creatred in outlook iteslf. 2)contacts which are synchonized from sharepoint contact list. while retrieving contact details,the outlook contact is only retrieved but not the synchonized sharepoint contacts.Below is code snippet: private void ThisApplication_Startup(object sender, System.EventArgs e) { Outlook.NameSpace outlookNameSpace = this.GetNamespace("MAPI"); Outlook.MAPIFolder contactsFolder = outlookNameSpace.GetDefaultFolder(Microsoft.Office .Interop.Outlook.OlDefaultFolders.olFolderContacts ); Outlook.Items contactItems = contactsFolder.Items; foreach(Outlook.ContactItem contact in contactItems) { MessageBox.Show("Contact First Name:"+ contact.FirstName + "Contact Last Name:" + contact.LastName);] } } I am using VSTO second edition 2005,visual studio 2005 and outlook 2007. I want to know why sharepoint list contact is not retrieved or my program is wrong. |
Ads |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Copy contact from Outlook 2007 to Sharepoint | Goks2000 | Outlook - Using Contacts | 2 | November 26th 07 07:48 AM |
Map SharePoint Contact List to Customized Contact Form in Outlook? | FarshadKZ | Outlook - Using Contacts | 0 | July 23rd 07 05:56 PM |
Synchronizing Contact List to Mobile Phone - | Caroline | Outlook - Using Contacts | 2 | January 29th 07 10:57 AM |
Sharepoint contact list | gene | Outlook - Using Contacts | 0 | January 24th 07 05:01 PM |
created from Sharepoint contact list | Soz | Outlook - Using Contacts | 1 | January 18th 07 03:32 PM |