<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Passing input parameters to Infopath form from windows application</title><link>https://www.infopathdev.com:443/forums/thread/32280.aspx</link><pubDate>Tue, 16 Sep 2008 11:40:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32280</guid><dc:creator>BRamachandran</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32280.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=32280</wfw:commentRss><description>&lt;p&gt;I am trying to pass input parameters to&amp;nbsp;a published Infopath form (.xsn) from my windows application. The code I am using is this&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;System.Diagnostics.&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Process&lt;/font&gt;&lt;font size="2"&gt;.Start(TemplateFolderPath + &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Template.xsn&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;/InputParameters CRPId=1571&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;The Template.xsn file is stored on a file share. The Infopath form opens up, but cannot find the parameter. When I try to retrieve it in the Form_Loading event, it throws an exception &amp;quot;The given key is not found in the dictionary&amp;quot;. What am I doing wrong?&lt;/p&gt;&lt;/font&gt;</description></item></channel></rss>