PC Review


Reply
Thread Tools Rate Thread

Re: Details of contacts from outlook

 
 
Milly Staples [MVP - Outlook]
Guest
Posts: n/a
 
      11th Oct 2009
Please repost to one of the outlook programming groups like the _vba group.

--
Milly Staples [MVP - Outlook]

Post all replies to the group to keep the discussion intact.
ALWAYS post your Outlook version.
How to ask a question: http://support.microsoft.com/KB/555375


After furious head scratching, pratikasthana17 asked:

| Hi,
| I develop VB.net 2008 with c# Application for fetch appoitment item
| from outllook 2003.
| I need to show the contact with their mobile number,which are stored
| in
| outlook contact
| related to the appointments in calender.
|
|
|
| Code:
| --------------------
|
|
| int i = 0;
| Outlook.Application oApp = new Outlook.Application();
| Outlook.NameSpace oNS = oApp.GetNamespace("MAPI");
| oNS.Logon(Type.Missing, Type.Missing, false, true);
| Outlook.MAPIFolder Ocalender =
| oNS.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderCalendar);
| Outlook.Items oItems = Ocalender.Items ; int iNumContacts =
| oItems.Count; Outlook.AppointmentItem c =
| (Outlook.AppointmentItem)(oItems[1]);
|
| string sub = c.Subject;
| string body = c.Body;
|
|
| --------------------
|
|
| If someone need more description abt this,kindly ask
|
| Plz. help
| Thanks in Advance
| Pratik Asthana


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Details (as in "Choose Details") not available for folders? jw Windows XP General 0 8th Aug 2005 06:38 PM
calendar meeting details: outlook won't show all the details =?Utf-8?B?Qk9aRVBQ?= Microsoft Outlook Calendar 0 11th Feb 2005 01:13 AM
Details List / Choose details to View Len Windows XP General 6 15th Nov 2004 02:39 PM
Details view--Choose Details--Pages displays incorrect data Jaci Smeltzer Windows XP Basics 1 27th Aug 2004 06:22 AM
details & details ? TK Microsoft Access Reports 3 18th Sep 2003 06:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:35 AM.