InfoPathEditorWithAppDomain.NewFromSolution method
Creates a new form based on a form template (.xsn) file.
Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)
Syntax
'Declaration
Sub NewFromSolution ( _
bstrSolutionURI As String, _
punkAppDomain As Object, _
bstrInputParameters As String _
)
'Usage
Dim instance As InfoPathEditorWithAppDomain
Dim bstrSolutionURI As String
Dim punkAppDomain As Object
Dim bstrInputParameters As String
instance.NewFromSolution(bstrSolutionURI, _
punkAppDomain, bstrInputParameters)
void NewFromSolution(
string bstrSolutionURI,
Object punkAppDomain,
string bstrInputParameters
)
Parameters
bstrSolutionURI
Type: System.StringThe path or URL to the form template (.xsn) file.
punkAppDomain
Type: System.ObjectAn AppDomain object that represents the application domain in which the application hosting the control is executing.
bstrInputParameters
Type: System.StringOne or more name/value pairs separated by the ampersand (&) character.
Remarks
To use the input parameters passed to the bstrInputParameters parameter, the form specified in the bstrURL parameter must contain a OnLoad event handler that uses the InputParameters property of the LoadingEventArgs class to retrieve the input parameter values, and then do something with those values.
See also
Reference
InfoPathEditorWithAppDomain interface