<?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: How to close form and InfoPath?</title><link>https://www.infopathdev.com:443/forums/thread/26005.aspx</link><pubDate>Tue, 29 Jan 2008 05:18:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26005</guid><dc:creator>sandhyap</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26005.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26005</wfw:commentRss><description>&lt;p&gt;Can you&amp;nbsp; check the following links it will help to you&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/bb229753.aspx"&gt;&lt;font face="Times New Roman" size="3"&gt;http://msdn2.microsoft.com/en-us/library/bb229753.aspx&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/microsoft.office.interop.infopath.semitrust._externalapplication.close(VS.80).aspx"&gt;&lt;font face="Times New Roman" size="3"&gt;http://msdn2.microsoft.com/en-us/library/microsoft.office.interop.infopath.semitrust._externalapplication.close(VS.80).aspx&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;a href="http://technet.microsoft.com/en-us/library/microsoft.office.interop.infopath.window2.close.aspx"&gt;&lt;font face="Times New Roman" size="3"&gt;http://technet.microsoft.com/en-us/library/microsoft.office.interop.infopath.window2.close.aspx&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to close form and InfoPath?</title><link>https://www.infopathdev.com:443/forums/thread/25978.aspx</link><pubDate>Mon, 28 Jan 2008 16:36:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25978</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25978.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25978</wfw:commentRss><description>&lt;p&gt;Not really, no... see this thread for some ideas, though: &lt;a href="http://www.infopathdev.com/forums/p/7052/25747.aspx"&gt;http://www.infopathdev.com/forums/p/7052/25747.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: How to close form and InfoPath?</title><link>https://www.infopathdev.com:443/forums/thread/25977.aspx</link><pubDate>Mon, 28 Jan 2008 16:23:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25977</guid><dc:creator>glamiae</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25977.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25977</wfw:commentRss><description>&lt;p&gt;Hello ! &lt;/p&gt;
&lt;p&gt;Do you know the code to write to quit the form in webBrowser enabled forms&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;</description></item><item><title>Re: How to close form and InfoPath?</title><link>https://www.infopathdev.com:443/forums/thread/20623.aspx</link><pubDate>Tue, 12 Jun 2007 14:35:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20623</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20623.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=20623</wfw:commentRss><description>&lt;p&gt;Application.Quit() is what you&amp;#39;re looking for. However, it requires your solution to be Full-Trust (for obvious reasons, you will really be shutting down InfoPath). Application.Quit() takes an optional bForce argument:&lt;/p&gt;&lt;p&gt;&lt;table&gt;&lt;tr&gt;&lt;td class="mainsection"&gt;&lt;em&gt;bForce&lt;/em&gt;&lt;/td&gt;&lt;td class="mainsection"&gt;Optional&lt;/td&gt;&lt;td class="mainsection"&gt;&lt;strong&gt;Boolean&lt;/strong&gt;&lt;/td&gt;&lt;td class="mainsection"&gt;Default value is &lt;strong&gt;False&lt;/strong&gt;. Determines whether open forms will be saved during the quit operation. If set to &lt;strong&gt;True&lt;/strong&gt;, all forms will be closed without saving, even if the data in the forms has been changed. If set to &lt;strong&gt;False&lt;/strong&gt;, the user will be prompted to save the forms.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/p&gt;&lt;p&gt;A word of warning: do not use bForce=true unless you really mean it. It WILL close unsaved instances (and Designer too, I believe).&lt;/p&gt;</description></item><item><title>How to close form and InfoPath?</title><link>https://www.infopathdev.com:443/forums/thread/20612.aspx</link><pubDate>Tue, 12 Jun 2007 06:32:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20612</guid><dc:creator>liorlankril</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20612.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=20612</wfw:commentRss><description>&lt;p&gt;On my OnSubmitRequest() event I have this code:&lt;/p&gt;&lt;p&gt;Application.XDocuments.Close(XDocument);&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This code only close the specific&amp;nbsp;form but not the InfoPath application. How to close both???&lt;/p&gt;</description></item></channel></rss>