Outlook provides a number of objects and methods for
taking advantage of its built-in capabilities.This article show how to create
an appointment in Outlook by using the Outlook Object Model in Visual Basic
.NET.
Appointments are activities that you schedule in your calendar that do not
involve inviting other people or reserving resources.Appointments are shown in
the calendar in time slots corresponding to start and end times as shown below.
Dim TempApp
As Outlook.Application =
New Outlook.Application()
'An
AppointmentItem 'TempAppItem' object represent one appointment
Dim TempAppItem As
Outlook.AppointmentItem =
TempApp.CreateItem(Outlook.OlItemType.olAppointmentItem)
TempAppItem.Subject = "Create Outlook Appointment Item with VB.NET"
TempAppItem.Body = "We can create appointment with the help of vb.net"
'Set Location
TempAppItem.Location = "No Location"
'Set start date and times
TempAppItem.Start = Convert.ToDateTime("11/08/2009 10:00:00 AM")
'Set end date and times

Join the conversation! Your thoughts help the community grow.