<?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: Cannot get to code-behind file</title><link>https://www.infopathdev.com:443/forums/thread/36821.aspx</link><pubDate>Fri, 09 Jan 2009 00:00:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36821</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36821.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=36821</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m afraid I can&amp;#39;t see any message there.&lt;/p&gt;</description></item><item><title>Re: Cannot get to code-behind file</title><link>https://www.infopathdev.com:443/forums/thread/36798.aspx</link><pubDate>Thu, 08 Jan 2009 20:56:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36798</guid><dc:creator>jbdement</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36798.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=36798</wfw:commentRss><description>&lt;p&gt;Yes, you would think it would be so easy.&amp;nbsp; However, when any other user tries to open the form on my SharePoint site (which they have full access too).&amp;nbsp; Here is the message they get:&amp;nbsp;&amp;nbsp; I hope you can see it.&amp;nbsp; It isn&amp;#39;t a domain permissions problem because user &amp;quot;were&amp;quot; able to open it prior to my opening the programming page in IP&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-SIZE:11pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Cannot get to code-behind file</title><link>https://www.infopathdev.com:443/forums/thread/36780.aspx</link><pubDate>Thu, 08 Jan 2009 18:14:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36780</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36780.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=36780</wfw:commentRss><description>&lt;p&gt;Tools/Form Options/Programming/Remove Code should be all you need to do to eliminate the code from your form.&amp;nbsp; What is it that&amp;#39;s indicating that there is still code in your form?&lt;/p&gt;</description></item><item><title>Re: Cannot get to code-behind file</title><link>https://www.infopathdev.com:443/forums/thread/36769.aspx</link><pubDate>Thu, 08 Jan 2009 14:53:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36769</guid><dc:creator>jbdement</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36769.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=36769</wfw:commentRss><description>&lt;p&gt;Hello and help! I did not intend to add code to my form.&amp;nbsp; However, even if you simply open anything under the Tools/Programming, InfoPath adds code.&amp;nbsp; I&amp;#39;ve gone back to Tools/Form Options/Programming and &amp;quot;removed&amp;quot; code but it still seems to be there.&amp;nbsp; How can I get back to my original form without code?&amp;nbsp; I really really hate to have to redo the form.&amp;nbsp; Thanks! Julie&lt;/p&gt;</description></item><item><title>Re: Cannot get to code-behind file</title><link>https://www.infopathdev.com:443/forums/thread/36738.aspx</link><pubDate>Wed, 07 Jan 2009 18:02:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36738</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36738.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=36738</wfw:commentRss><description>&lt;p&gt;I found &lt;a href="http://www.eggheadcafe.com/software/aspnet/29366944/infopath-2007-cannot-ad.aspx"&gt;this&lt;/a&gt; which suggests that either the path to the proposed code file location could be too long, or the name of the form could cause a conflict. Perhaps try redirecting the location for the code to a nice short path, or doing a Save As and saving your form with a new name?&lt;/p&gt;</description></item><item><title>Re: Cannot get to code-behind file</title><link>https://www.infopathdev.com:443/forums/thread/36737.aspx</link><pubDate>Wed, 07 Jan 2009 18:02:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36737</guid><dc:creator>clawrence</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36737.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=36737</wfw:commentRss><description>&lt;p&gt;I went to all the options, and changed my code language from VB to C#.&amp;nbsp; It allowed me to get the code that way.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I then removed the code, and switched everything back to VB - still works.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I guess I&amp;#39;m good to go.&lt;/p&gt;</description></item><item><title>Re: Cannot get to code-behind file</title><link>https://www.infopathdev.com:443/forums/thread/36735.aspx</link><pubDate>Wed, 07 Jan 2009 17:52:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36735</guid><dc:creator>clawrence</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36735.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=36735</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve never put code with this form template.&amp;nbsp; I did save the source files, just to double check, and no .dll.&lt;/p&gt;
&lt;p&gt;I have write access to the drive where I&amp;#39;m trying to put the code.&lt;/p&gt;
&lt;p&gt;If I start a new, blank form, I have no problem getting to the code-behind files.&amp;nbsp; But I don&amp;#39;t want to have to rebuild this form from scratch - I&amp;#39;ve been working on it for months.&lt;/p&gt;</description></item><item><title>Re: Cannot get to code-behind file</title><link>https://www.infopathdev.com:443/forums/thread/36733.aspx</link><pubDate>Wed, 07 Jan 2009 17:43:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36733</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36733.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=36733</wfw:commentRss><description>&lt;p&gt;Does this form template already have code? That is, did you start it from scratch, or are you modifying a template someone else developed?&lt;/p&gt;
&lt;p&gt;You can find out where the template thinks its code is by going to &lt;strong&gt;Tools/Form Options&lt;/strong&gt; and selecting the &lt;strong&gt;Programming&lt;/strong&gt;&amp;nbsp;tab. There will be a path to where it expects to see its code files (if they already exist). There is also a button you can click to remove existing code (disclaimer, this does exactly what it says, so if the form template contains compiled code already, it will be removed). If you have the source code files, you can also repoint the template in this window by browsing to the correct files.&lt;/p&gt;
&lt;p&gt;You can also save your template as source files and look for a .dll in the source files to see if there is any managed code in the template.&lt;/p&gt;</description></item><item><title>Re: Cannot get to code-behind file</title><link>https://www.infopathdev.com:443/forums/thread/36731.aspx</link><pubDate>Wed, 07 Jan 2009 17:41:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36731</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36731.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=36731</wfw:commentRss><description>&lt;p&gt;In Tools -&amp;gt; Form Options -&amp;gt; Programming, there is an option to specify the project location for managed code.&amp;nbsp; If you change it to a directory to which you know you have write access, does that help?&lt;/p&gt;</description></item><item><title>Cannot get to code-behind file</title><link>https://www.infopathdev.com:443/forums/thread/36730.aspx</link><pubDate>Wed, 07 Jan 2009 17:35:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36730</guid><dc:creator>clawrence</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36730.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=36730</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m working with a form, and I want to add custom code to it, but can&amp;#39;t get to the code-behind files.&lt;/p&gt;
&lt;p&gt;I keep getting the following error:&lt;/p&gt;
&lt;p&gt;&amp;quot;InfoPath cannot add the even handler&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;InfoPath cannot create the Visual Basic or C# project.&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;The location for the Visual Basic or C# project cannot be found or cannot be accessed.&amp;quot;&lt;/p&gt;
&lt;p&gt;Anyone else running into this or know of a solution?&amp;nbsp; I can&amp;#39;t find much out there...&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item></channel></rss>