Working with Custom Task Panes

In Microsoft InfoPath, every control on a form must be bound to an element in the corresponding XML document. In turn, the contents of the XML document must be defined by a corresponding schema. These requirements can be limiting when you want to provide some added assistance to retrieve information and populate a form. These limitations are explained below.

Managed code

You can use managed code to display System.Windows.Forms dialog boxes that are launched by a button click on the form. But doing so comes at the cost of making development and deployment more complicated. For example, forms that you developed using Windows forms dialog boxes often cannot be deployed by a forms server.

Custom Task Pane

An alternative ...

Get VSTO 3.0 for Office 2007 Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.