hi,
If you want to launch an infopath form :
thisApplication.XDocuments.NewFromSolution(@"C:\RC\AV.xsn");
a variant for copy a child node in this new form
XDocument oXdNewForm = thisApplication.XDocuments.NewFromSolution(@"C:\RC\AV.xsn");
IXMLDOMNode Old = oXdNewForm.DOM.selectSingleNode("/AV");
IXMLDOMDocument2 res = (IXMLDOMDocument2)thisXDocument.CreateDOM();
res.loadXML(Res.OuterXml);
Old.parentNode.replaceChild(res.selectSingleNode("/AV"), Old);
++
Thierry
Infopath 2007, Langage: C#2.0 (Modèle Objet 2003)
merci de lire ceci