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.
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.
An alternative ...