Using the Calendaring Sample Application

Topic Last Modified: 2007-04-17

The Calendaring sample application consists of a Microsoft Visual Basic executable file that is located in the directory in which the Microsoft Exchange Server 2007 Software Development Kit (SDK) is installed, in the \Samples\Calendaring\ directory, or in the directory in which it was built. To use the Calendaring sample application, navigate to the build directory and double-click the Calendaring.exe file icon.

Note

This sample application must be used on a computer that is running Microsoft Exchange Server 2007.

The following figure shows the Calendaring sample application.

Aa579869.c8b58eb6-6e80-4541-8e90-ff474ab4c409(en-us,EXCHG.80).gif

To connect to a user's calendar

  1. In the User field, type the full e-mail address of the user you are logged in as.

  2. Click Connect.

To create and save a new appointment

  1. Click Create.

  2. In the Add Attendee field, type the e-mail address of the attendee and click Add. You can add more than one attendee by typing a semicolon-delimited list of e-mail addresses.

  3. In the Subject field, type the subject of the appointment.

  4. In the Location field, type the location of the appointment.

  5. In the Start Time field, type the time at which the appointment will start. For example, 11/20/01 3:00:00 PM.

  6. In the End Time field, type the time at which the appointment will end. For example, 11/20/01 3:30:00 PM.

  7. In the Body Text field, type a brief description of the appointment. This text will appear as the appointment text body.

  8. Click Save Appointment.

The appointment is saved to the user's calendar and appears in the Calendar Items list box.

To open and modify an existing appointment

  1. Click the file name of an appointment in the Calendar Items list box. The Attendee List, Subject, Location, Start Time, End Time, Recurrence, and Body Text fields will fill in with the appointment information.

  2. To modify the appointment information, modify the text in one of the fields and then click Save Appointment.

To send appointments to attendees

  1. Open an existing appointment by clicking the file name of an appointment in the Calendar Items list box.

  2. Click Send Appointment.

To cancel an appointment

  1. Open an existing appointment by clicking the file name of an appointment in the Calendar Items list box.

  2. Click Cancel Appointment.

The appointment will be removed from the user's calendar and will no longer appear in the Calendar Items list box.