<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: InfoPath with C# code, it just doesn't work.</title><link>https://www.infopathdev.com:443/forums/thread/91177.aspx</link><pubDate>Mon, 08 Jul 2013 18:21:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91177</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91177.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=91177</wfw:commentRss><description>&lt;p&gt;I haven&amp;#39;t worked with Document Information Panels, but one thing to verify here is that &lt;strong&gt;&lt;a href="https://mysite.sharepoint.com"&gt;https://mysite.sharepoint.com&lt;/a&gt;&lt;/strong&gt; is in your local intranet sites in the Internet Explorer security settings. I believe I have seen this error result from not having the publish site in IE&amp;#39;s local intranet sites.&lt;/p&gt;</description></item><item><title>InfoPath with C# code, it just doesn't work.</title><link>https://www.infopathdev.com:443/forums/thread/91091.aspx</link><pubDate>Wed, 03 Jul 2013 16:11:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91091</guid><dc:creator>meneeraart2</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91091.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=91091</wfw:commentRss><description>Good day,
&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;ve got a quite simple Document Information Panel view, created in InfoPath 2013, to be used in Word. I need to perform a calculation on one of the fields. It&amp;#39;s too complicated to perform this calculation within InfoPath, I need to write some code in C# of VB (using Visual Studio). That shouldn&amp;#39;t be any problem since InfoPath has a Developer tab with Visual Studio integration. The thing is, it just doesn&amp;#39;t work. Even when I just click on &amp;quot;On After Change event&amp;quot; button and Visual Studio generates an empty function for me, it already produces an error when using the form. Because I didn&amp;#39;t add any code yet, it&amp;#39;s 100% sure the error is not as result of my custom code.&lt;br /&gt;
&lt;br /&gt;
It&amp;#39;s even weirder. When I create a new empty form, just add a button, and add a skeleton code (an empty function), it won&amp;#39;t work. It just gives a generic code. Is there anything else then just saving what I have to change to be able to use an InfoPath form with code? Or is there some security setting I should change on my computer, or within InfoPath? &lt;br /&gt;
&lt;br /&gt;
The error message is: &amp;quot;Document Information Panel cannot open a new form.&lt;br /&gt;
The form cannot be opened. To fix this problem, contact the form designer.&lt;br /&gt;
Form template: https://mysite.sharepoint.com/_cts/documents/e7d9d2651713b7f2customXsn.xsn&lt;br /&gt;
Document Information Panel cannot open the selected form because of an error in the form&amp;#39;s code.&lt;br /&gt;
Error in the application.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
I hope I gave enough information. If anything is missing, please ask. Thank you very much,&lt;br /&gt;
&lt;br /&gt;
Meneer Aart.</description></item></channel></rss>