View Single Post
  #4  
Old 08-20-2007, 06:37 AM
krishnakumar krishnakumar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 200
krishnakumar is on a distinguished road
Smile Re: How to fix the appointments in windows mobile using C#?

Hi,
For pick the appointment, we have to use Microsoft.WindowsMobile.PocketOutlook;

Here the code is used for pick the appointment from appointment list
AppointmentCollection apptcollec;
OutlookSession pick = new OutlookSession();
apptcollec = pick.Appointments.Items;
foreach (Appointment appt in apptcollec)
{
textBox1.Text = appt.Start.ToShortDateString() + " " + appt.Start.ToShortTimeString();
textBox2.Text = appt.End.ToShortDateString() + " " + appt.End.ToShortTimeString();
textBox3.Text = appt.Location;
textBox4.Text = appt.Subject;
}


Hope u got clear by use this...
__________________
Krishnakumar.S
Beware of Everything -that is un true; stick to the Truth shall succeed slowly but steadily
Reply With Quote