MSDN Library

Add Contacts' Birthdays to Calendar

Windows Mobile 6.5
Windows Mobile SupportedWindows Embedded CE Not Supported
8/28/2008

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

Feature Area

Pocket Outlook Object Model Application Development

Windows Mobile Features (Managed)

Relevant APIs

Microsoft.WindowsMobile.PocketOutlook namespace

  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 SDK\Samples\Common\CS\BirthdaysToCalendar

    Microsoft Visual Studio 2005 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 6 Professional SDK and Windows Mobile 6 Standard SDK

Development Environment: Visual Studio 2005.

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

Show:
© 2016 Microsoft