FormControl.HostName Property
Gets or sets the name of the host application.
Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath.FormControl (in microsoft.office.infopath.formcontrol.dll)
Syntax
'Declaration
'Usage
Property Value
The name of the host application.
Remarks
The value of the HostName property is used in dialog boxes and error messages in place of the InfoPath product name.
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.
See Also
Reference
FormControl Class
FormControl Members
Microsoft.Office.InfoPath Namespace