<?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>Re: InfoPath Form with code detached... and lost!</title><link>https://www.infopathdev.com:443/forums/thread/51245.aspx</link><pubDate>Mon, 01 Feb 2010 14:49:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51245</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51245.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=51245</wfw:commentRss><description>&lt;p&gt;i think you do not have VSTA installed on your machine, get that installed on your machine and then try again.&lt;/p&gt;
&lt;p&gt;to install VSTA go to control panel -&amp;gt; add remove programs -&amp;gt; choose microsoft office -&amp;gt; change -&amp;gt; add or remove features ...&lt;/p&gt;</description></item><item><title>Re: InfoPath Form with code detached... and lost!</title><link>https://www.infopathdev.com:443/forums/thread/51239.aspx</link><pubDate>Mon, 01 Feb 2010 12:37:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51239</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51239.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=51239</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Would you mind telling us what the errors say, specifically?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>InfoPath Form with code detached... and lost!</title><link>https://www.infopathdev.com:443/forums/thread/51055.aspx</link><pubDate>Wed, 27 Jan 2010 19:56:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51055</guid><dc:creator>RebeccaBing</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51055.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=51055</wfw:commentRss><description>&lt;p&gt;I have inherited an InfoPath form that should have code behind, but the code (and project) don&amp;#39;t appear to match. I have&amp;nbsp;AprFormTemplate0409.xsn&amp;nbsp;and AprForm.xsn.cs. I understand&amp;nbsp;I need to reattach the code on my computer, but I am getting an error when I try. What I&amp;#39;ve done is:-&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Opened the&amp;nbsp;form in InfoPath (2007 for a MOSS server), under Form Options / Programming, I selected Remove Code, then set the language to c#&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Opened Tools, Programming, MS Visual Studio tools for Applications - created a new project file (the code was written in C#).&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Deleted all the code in the new project, pasted in the code from the .xsn.cs form above&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Once accomplished, I get errors on the form when I try to publish, referring me to&amp;nbsp;VS tools for Applications but a) nothing is highlighted to&amp;nbsp;help identify why it&amp;#39;s failing, and b) I am not a programmer.&lt;/p&gt;
&lt;p&gt;The InfoPath form and code&amp;nbsp;are a match (although I can&amp;#39;t guarantee they are the same version). On this assumption, is there anything obvious I have done wrong? I need to re-attach the code and republish to MOSS Ent forms server (urgently) but I haven&amp;#39;t done this before.&lt;/p&gt;
&lt;p&gt;Any ideas (especially any solutions!) would be HUGELY appreciated.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Becs&lt;/p&gt;</description></item></channel></rss>