|
-
September 15th, 2010, 10:25 AM
#1
Outlook.application and c#
Hi all,
I know that id f I need the list of outlook contacts (in my pc) the code is:
Outlook.Application outlookApp = new Outlook.ApplicationClass();
Outlook.NameSpace outlookNS = outlookApp.GetNamespace("MAPI");
Outlook.MAPIFolder folderContacts =
outlookNS.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts);
MessageBox.Show(folderContacts.Items.Count.ToString());
--------------------------------
But if outlook is installed in a remote pc and I want to access it ????
Many thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|