Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

You can create Windows Mobile widgets using Visual Studio. The following environments support widget creation:

•Visual Studio 2005 SP1 or later (Standard or greater version)

•Visual Studio 2008 SP1 or later (Professional or greater version)

Creating widgets using Visual Studio requires adding the Windows Mobile 6.5.3 DTK to your Visual Studio environment.

To install the Widget extension for Visual Studio

  1. From the Microsoft download site , download the Windows Mobile 6.5.3 DTK.

  2. Click the Windows Mobile 6.5.3 DTK setup file.

  3. Follow the directions in the Setup Wizard.

  4. Widgets for Windows Mobile now shows up in your Visual Studio as a project type

To create a widget using the Widget extension:

  1. On the Filemenu, click New, and then click Project.

  2. In the Projectscolumn, click Widgets for Windows Mobile.

  3. In the Templatescolumn, click EmptyWidgetor SimpleWidget.

    Note:
    This step is not optional.
    Note:
    The EmptyWidget template consists of an HTML file that contains only the empty <html>, <head>, <title>, and <body> tags, and a manifest file pre-populated with default values.
    Note:
    The SimpleWidget template consists of an HTML file that links to a JavaScript file, two CSS files (one for low-DPI rendering and one for high-DPI rendering), and an image file. The included manifest file links all of the template files. Zipping and deploying the widget loads the widget and renders the image.

See Also