P
pratikasthana17
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
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