Share via


InfoPathEditor.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 _
)
'Usage
Dim instance As InfoPathEditor
Dim bstrSolutionURI As String

instance.NewFromSolution(bstrSolutionURI)
void NewFromSolution(
    string bstrSolutionURI
)

Parameters

  • bstrSolutionURI
    Type: System.String

    The path or URL to the form template (.xsn) file.

Remarks

For more information about the InfoPathEditor and the FormControl objects , see the MSDN article Hosting the InfoPath Form Editing Environment in a Custom Windows Form Application and the "The InfoPath Editor Hosted As a Control" section of What's New for InfoPath Developers.

See also

Reference

InfoPathEditor interface

InfoPathEditor members

Microsoft.Office.Interop.InfoPath namespace