Assembly: Microsoft.Office.InfoPath.FormControl (in microsoft.office.infopath.formcontrol.dll)
The FormControl editor object provides various properties and methods to open and close form templates, as well as to communicate with the host environment for .NET-based custom applications. The Microsoft.Office.InfoPath.Server assembly provides the hostable XmlFormView control for use in custom Web pages (.aspx).
For more information about the FormControl object, see Hosting the InfoPath 2007 Form Editing Environment in a Custom Windows Form Application and the "InfoPath Editor Hosted as a Control" section of What's New for InfoPath Developers. For more information about using the XmlFormView control in custom Web pages, see Hosting the InfoPath 2007 Form Editing Environment in a Custom Web Form.