<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Français (French)</title><link>https://www.infopathdev.com:443/forums/37.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Passege de param&amp;#232;tre en C#</title><link>https://www.infopathdev.com:443/forums/thread/951.aspx</link><pubDate>Tue, 02 Jan 2007 08:28:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:951</guid><dc:creator>bruno</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/951.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=951</wfw:commentRss><description>Effectivement il y a une différence entre dsf et dfs, cela fonctionne&lt;br /&gt;merci pour votre aide.&lt;br /&gt;</description></item><item><title>Re: Passege de param&amp;#232;tre en C#</title><link>https://www.infopathdev.com:443/forums/thread/950.aspx</link><pubDate>Thu, 28 Dec 2006 16:47:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:950</guid><dc:creator>tazamorte</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/950.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=950</wfw:commentRss><description>non elles le sont pas &lt;br /&gt;&lt;br /&gt; /d&lt;b&gt;f&lt;/b&gt;s:&lt;br /&gt;/ds&lt;b&gt;f&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;elles ne referencent pas le meme namespace</description></item><item><title>Re: Passege de param&amp;#232;tre en C#</title><link>https://www.infopathdev.com:443/forums/thread/949.aspx</link><pubDate>Thu, 21 Dec 2006 10:38:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:949</guid><dc:creator>bruno</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/949.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=949</wfw:commentRss><description>Thank you for the answer but 2 lines are identical&lt;br /&gt;&lt;br /&gt;bruno</description></item><item><title>Re: Passege de param&amp;#232;tre en C#</title><link>https://www.infopathdev.com:443/forums/thread/948.aspx</link><pubDate>Thu, 21 Dec 2006 05:47:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:948</guid><dc:creator>uma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/948.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=948</wfw:commentRss><description>Hi Bonjour,&lt;br /&gt;&lt;br /&gt;Welcome to Forums!&lt;br /&gt;&lt;br /&gt;Instead of using:&lt;br /&gt;&lt;br /&gt;IXMLDOMNode dest = newForm.DOM.selectSingleNode("/dsf:myFields/dfs:queryFields/q:Projet/@CodePrj");&lt;br /&gt;&lt;br /&gt;Use the below line of code:&lt;br /&gt;&lt;br /&gt;IXMLDOMNode dest = newForm.DOM.selectSingleNode("/dfs:myFields/dfs:queryFields/q:Projet/@CodePrj");&lt;br /&gt;&lt;br /&gt;Because in the first line of code 'dsf' is undeclared name space. So, it is giving &lt;br /&gt;"Référence à un préfixe d'espace de noms non déclaré : 'dsf'." that error&lt;br /&gt;&lt;br /&gt;Hope this will help you to resolve your problem&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Passege de paramètre en C#</title><link>https://www.infopathdev.com:443/forums/thread/425.aspx</link><pubDate>Wed, 20 Dec 2006 11:41:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:425</guid><dc:creator>bruno</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/425.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=425</wfw:commentRss><description>Bonjour,&lt;br /&gt;&lt;br /&gt;je rencontre un pb de passage de paramètre en C# :&lt;br /&gt;&lt;br /&gt;voici le code que j'utilise tiré d'un post!&lt;br /&gt;&lt;br /&gt;		public void CTRL9_7_OnClick(DocActionEvent e)&lt;br /&gt;		{&lt;br /&gt;			XDocument newForm = thisApplication.XDocuments.NewFromSolution("file:///\\P:\\Document\\Bruno\\CasperInfopath\\InfoPathProject3\\bin\\Debug\\InfoPathProject3.xsn");// Write your code here.&lt;br /&gt;			IXMLDOMNode source = thisXDocument.DOM.selectSingleNode("/dfs:myFields/dfs:dataFields/d:Projet/@CodePrj");&lt;br /&gt;&lt;br /&gt;			IXMLDOMNode dest = newForm.DOM.selectSingleNode("/dsf:myFields/dfs:queryFields/q:Projet/@CodePrj");&lt;br /&gt;			dest.text = source.text;			&lt;br /&gt;		}&lt;br /&gt;&lt;br /&gt;et voici le message d'erreur quand je clic sur le bonton!&lt;br /&gt;&lt;br /&gt;Référence à un préfixe d'espace de noms non déclaré : 'dsf'.&lt;br /&gt;&lt;br /&gt;   at Microsoft.Office.Interop.InfoPath.SemiTrust.IXMLDOMNode.selectSingleNode(String queryString)&lt;br /&gt;   at Microsoft.Office.Interop.InfoPath.SemiTrust.DOMDocument50Wrapper.selectSingleNode(String queryString)&lt;br /&gt;   at InfoPathProject1.InfoPathProject1.CTRL9_7_OnClick(DocActionEvent e)&lt;br /&gt;   at Microsoft.Office.Interop.InfoPath.SemiTrust._ButtonEventSink_SinkHelper.OnClick(DocActionEvent pEvent)&lt;br /&gt;&lt;br /&gt;si je fais la meme chose en Jscript pas de souci cela fonctionne bien!&lt;br /&gt;&lt;br /&gt;Merci pour votre aide !&lt;br /&gt;&lt;br /&gt;Bruno&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>