<?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 VSTA, Visual Studio 2008</title><link>https://www.infopathdev.com:443/forums/thread/65552.aspx</link><pubDate>Tue, 29 Mar 2011 12:36:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65552</guid><dc:creator>sam stephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65552.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=65552</wfw:commentRss><description>I had the same problem, just follow this simple answer https://msmvps.com/blogs/sundar_narasiman/archive/2008/05/20/how-to-install-vsta-visual-studio-tools-for-applications.aspx

I hope it will work for you as well.</description></item><item><title>Re: Infopath VSTA, Visual Studio 2008</title><link>https://www.infopathdev.com:443/forums/thread/48344.aspx</link><pubDate>Thu, 29 Oct 2009 09:40:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48344</guid><dc:creator>pmatthews05</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48344.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=48344</wfw:commentRss><description>&lt;p&gt;I found out how to do it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;First you need to convert VSTA project to Microsoft Visual Studio Tools for Office (VSTO). &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Copy the VS2005 solution Infopath creates to a new folder (e.g. C:\[user]\My Documents\Visual Studio 2008\Project\) 
&lt;li&gt;Start Visual Studio 2008 and open &lt;em&gt;projectname.sln&lt;/em&gt; from the location where you copied the project folder in step 1. (Allow the project to upgrade). 
&lt;li&gt;In Solution Explorer, right-click the project fodler, point to &lt;strong&gt;Add&lt;/strong&gt;, then click &lt;strong&gt;New Folder.&lt;/strong&gt; 
&lt;li&gt;Name the new folder &lt;strong&gt;InfoPath Form Template&lt;/strong&gt;. The name of the folder must be exact to work correctly. 
&lt;li&gt;Close Visual Studio 2008. 
&lt;li&gt;Start InfoPath and open the original form template for the project in Design mode. 
&lt;li&gt;On the &lt;strong&gt;File&lt;/strong&gt; menu, click&lt;strong&gt; Save as Source Files&lt;/strong&gt;, and then save the files to the &lt;strong&gt;InfoPath Form Template&lt;/strong&gt; folder. This will be located inside the folder where you copied the project in step 1. 
&lt;li&gt;Close Infopath. 
&lt;li&gt;Start Visual Studio 2008, and then open the project you opened in step 2. 
&lt;li&gt;In &lt;strong&gt;Solution Explorer&lt;/strong&gt;, click the &lt;strong&gt;Show All Files&lt;/strong&gt; button. Inside the InfoPath Form Template you should find a bunch of files. Right click each one and &lt;strong&gt;Include in project&lt;/strong&gt;. 
&lt;li&gt;In &lt;strong&gt;Solution Explorer&lt;/strong&gt;, double-click manifest.xsf file to open the form template in Design mode in Visual Studio. &lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;You should now be able to perform everything you could do in InfoPath inside Visual Studio, including adding code, designing and publishing it! &lt;/p&gt;
&lt;p&gt;Finally to debug, after you have published your form into SharePoint, all you do is attached the debugger to the SharePoint w3wp.exe process. &lt;/p&gt;</description></item><item><title>Infopath VSTA, Visual Studio 2008</title><link>https://www.infopathdev.com:443/forums/thread/47948.aspx</link><pubDate>Fri, 16 Oct 2009 09:30:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47948</guid><dc:creator>pmatthews05</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47948.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=47948</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve been asked to work on Infopath to create workflows in SharePoint. I use Visual Studio 2008 to program any code I normally do.&lt;/p&gt;
&lt;p&gt;If I design an Infopath form, when I click Tools -&amp;gt; Programming -&amp;gt; Microsoft Visual Studio Tools for Applications, it&amp;nbsp;creates a Visual Studio 2005 project. I don&amp;#39;t even have Visual Studio 2005 installed on my machine, although a VS2005 environment loads up.&lt;/p&gt;
&lt;p&gt;Is there a way I can get it to create a VS2008 project instead. I have tried to open the project in VS2008, but it just upgrades the project, which then breaks the form if you try and access the code again in Infopath.&lt;/p&gt;
&lt;p&gt;I want to be able to do this so I can debug, as MVSTA doesn&amp;#39;t allow you to attach a debugger. The easiest step would be just to find my MSDN disk and install Visual Studio 2005 so I can debug the Infopath projects, but that seems overkill to have VS2003, VS 2005 and VS 2008 installed on my machine.&lt;/p&gt;</description></item></channel></rss>