<?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>InfoPath form occasionally close itself</title><link>https://www.infopathdev.com:443/forums/thread/52228.aspx</link><pubDate>Fri, 26 Feb 2010 03:44:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52228</guid><dc:creator>shsia</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52228.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=52228</wfw:commentRss><description>&lt;p&gt;I have a InfoPath 2007 Form and the code behind for the form is C#.&lt;/p&gt;&lt;p&gt;When
two or more Infopath forms are being&amp;nbsp; opened in the same window using
the same form template, submission of one will close the others without
submitting them. This problem only happen occasionally not always.&lt;/p&gt;&lt;p&gt;I
checked my code, I think the problem might caused by the code below but
I&amp;#39;m not 100% sure since this problem only happen occasionally:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;this.Application.ActiveWindow.Close(true);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;Can anyone please help me?? Thanks.&amp;nbsp;</description></item></channel></rss>