<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Is there a way to replace the InfoPath template in a Visual Studio project but keep all the code behind?</title><link>https://www.infopathdev.com:443/forums/thread/35295.aspx</link><pubDate>Thu, 04 Dec 2008 12:59:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35295</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35295.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35295</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We can modify the existing manifest.xsf with new .xsn file. You have to follow these steps,&lt;/p&gt;
&lt;p&gt;1. Open the new .xsn file in design mode.&lt;/p&gt;
&lt;p&gt;2. Go to File -&amp;gt; ‘Save as Source Files..&amp;#39;&lt;/p&gt;
&lt;p&gt;3. In ‘Browser For Folder&amp;#39; window, you have to give your InfoPath form location of manifest.xsf is available. (eg: e:\foldername\projectname\solutionfolder\InfoPath Form Template&amp;quot;)&lt;/p&gt;
&lt;p&gt;4. Click on ‘OK&amp;#39; button.&lt;/p&gt;
&lt;p&gt;Note: Make sure that you have back up for both forms before doing above steps.&lt;/p&gt;
&lt;p&gt;Following above you will get updated InfoPath design changes in your folder with existing code.&lt;/p&gt;</description></item><item><title>Is there a way to replace the InfoPath template in a Visual Studio project but keep all the code behind?</title><link>https://www.infopathdev.com:443/forums/thread/35237.aspx</link><pubDate>Wed, 03 Dec 2008 20:30:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35237</guid><dc:creator>jonathan.gill</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35237.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35237</wfw:commentRss><description>&lt;span style="FONT-SIZE:9pt;FONT-FAMILY:Verdana;"&gt;&amp;nbsp; 
&lt;p&gt;Is there a way to replace the InfoPath 2003 template in a Visual Studio project but keep all the code behind?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have the following problem:&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;My desktop was lost by movers in a company move and the most recent version of the VS Project of an application I was working on was not in source control and was on my local drive. &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What I have that could aid in fixing the problem:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I have an older version of the project uploaded in a .zip file to a SharePoint document library. The C# .cs codebehind has not changed since I uploaded the project to the document library for temporary backup, but the .xsn template file has changed. I published the most recent version of the completed/complied form to a form library, so I can obtain the InfoPath template.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I do not know of a way to get the project back other than combining the working form/template that is out on a form library with the old project that has the old design of the template.&lt;/p&gt;&lt;/span&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>