Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

Add Contacts' Birthdays to Calendar

Windows Mobile 6.5

This code sample is named BirthdaysToCalendar. It demonstrates how to write a managed Pocket Outlook Object Model (POOM) application.

  1. Navigate to the solution file (*.sln), and double-click it. By default, the solution files are copied to the following folders:

    C:\Program Files\Windows Mobile 6.5.3 DTK\Samples\Common\CS\BirthdaysToCalendar

    Microsoft Visual Studio launches and loads the solution.

  2. Build the solution (Ctrl+Shift+B).

  3. Deploy the solution (F5).

  • To add the birthdays to the calendar, choose Add from BirthdaysToCalendar's menu.

SDK: Windows Mobile Professional SDK and Windows Mobile Standard SDK

Development Environment: Visual Studio 2005 or 2008.

ActiveSync: Version 4.5.

BirthdaysToCalendar iterates through a contact collection, and adds the birthday of the each contact to the Calendar, as a yearly, recurring, all-day event.

It is assumed that you have a set of Contacts with valid Birthdays.

Community Additions

© 2015 Microsoft