Export (0) Print
Expand All
Expand Minimize
2 out of 2 rated this helpful - Rate this topic

Medical History

Windows Mobile 6.5
4/8/2010

This code sample is named Medical History. It demonstrates how to add named properties to a Windows Mobile Contact item, and how to add menu extensions to a Contact summary card.

To run the code sample
  1. Navigate to the solution file (*.sln), and double-click it. By default, the solution file is copied to the following folder:

    C:\Program Files\Windows Mobile 6.5.3 DTK\Samples\PocketPC\CPP\win32\MedicalHistory

    Microsoft Visual Studio launches and loads the solution.

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

  3. Deploy the solution (F5).

After you build this code sample, you can configure Visual Studio to debug it remotely on the mobile device by following these steps.

To debug this project
  1. In Visual Studio, right-click the MedicalHistory project in Solution Explorer, and then click Properties.

  2. Expand Configuration Properties, and click Debugging.

  3. In Debugger to launch:, select Smart Device Native Debugger.

  4. In Remote Executable, type "\Windows\poutlook.exe".

  5. In Command Arguments, type contacts.

  6. Click OK to save your changes.

  7. Press F5 to begin debugging.

To use the application
  1. Open a contact's summary card.

  2. Click Menu, then click Medical History.

These menu extensions allow the user to add medical information to a IContact item. This includes the contact's health insurance provider, blood group, blood pressure, and allergies.

SDK: Windows Mobile Professional SDK and Windows Mobile Standard SDK

Development Environment: Visual Studio 2005 or 2008.

ActiveSync: Version 4.5.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.