<?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: Close a infopath filler form via code</title><link>https://www.infopathdev.com:443/forums/thread/96539.aspx</link><pubDate>Thu, 20 Mar 2014 04:23:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96539</guid><dc:creator>Ruskin11</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96539.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=96539</wfw:commentRss><description>&lt;p&gt;Sorry guys I found the answer!&lt;/p&gt;&lt;p&gt;Didn&amp;#39;t do a thorough enough job of searching the forums!!&lt;/p&gt;&lt;p&gt;For anyone who is interested it is &lt;strong&gt;this.Close();&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Thanks for your time&lt;/p&gt;</description></item><item><title>Close a infopath filler form via code</title><link>https://www.infopathdev.com:443/forums/thread/96538.aspx</link><pubDate>Thu, 20 Mar 2014 04:10:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96538</guid><dc:creator>Ruskin11</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96538.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=96538</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;&lt;p&gt;I currently have an infopath 2010 filler form, in it I have added the code functionality which allows me to add what a user has input into the form into a shareppoint 2010 list.&lt;/p&gt;&lt;p&gt;However when I add an infopath rule to close the form, the above mentioned functionality does not run.&lt;/p&gt;&lt;p&gt;Therefore I am looking for a way to close the form after the code which I have entered has run.&lt;/p&gt;&lt;p&gt;I have tried using a submit button instead of the current rules button which I am using, but it doesnt allow me to add any &amp;quot;action&amp;quot; rules to this button which I need in my form.&lt;/p&gt;&lt;p&gt;So my question is, is it possible to close my form down via code (C#) or is this not possible?&lt;/p&gt;&lt;p&gt;Thanks in advance&lt;/p&gt;</description></item></channel></rss>