<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Close browser window with Hyperlink</title><link>https://www.infopathdev.com:443/forums/thread/34983.aspx</link><pubDate>Thu, 27 Nov 2008 11:09:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34983</guid><dc:creator>ghostme</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34983.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=34983</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks Anuma for that link, however how can specifiy the source url for a form? It was mentioned in step 3 of the link.&lt;/p&gt;&lt;p&gt;Cheers &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Close browser window with Hyperlink</title><link>https://www.infopathdev.com:443/forums/thread/34959.aspx</link><pubDate>Thu, 27 Nov 2008 05:46:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34959</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34959.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=34959</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Try this Link.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.sharepointblogs.com/lovedjohnysmith/archive/2007/10/22/close-new-opened-infopath-form-automatically.aspx"&gt;http://www.sharepointblogs.com/lovedjohnysmith/archive/2007/10/22/close-new-opened-infopath-form-automatically.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Close browser window with Hyperlink</title><link>https://www.infopathdev.com:443/forums/thread/34958.aspx</link><pubDate>Thu, 27 Nov 2008 05:19:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34958</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34958.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=34958</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Take XDocument instead of thisXDocument.&lt;/p&gt;</description></item><item><title>Re: Close browser window with Hyperlink</title><link>https://www.infopathdev.com:443/forums/thread/34947.aspx</link><pubDate>Wed, 26 Nov 2008 18:27:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34947</guid><dc:creator>ghostme</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34947.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=34947</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi swathip, I tried out your code, however I am getting some errors while executing the code&lt;/p&gt;&lt;p&gt;which says The name &amp;#39;thisXDocument&amp;#39; does not exist in the current context.&lt;/p&gt;&lt;p&gt;Thanks &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Close browser window with Hyperlink</title><link>https://www.infopathdev.com:443/forums/thread/34938.aspx</link><pubDate>Wed, 26 Nov 2008 13:26:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34938</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34938.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=34938</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;By setting a rule on the button you can close the form. &lt;/p&gt;
&lt;p&gt;1. Go to button properties.&lt;/p&gt;
&lt;p&gt;2. Click on Rules.&lt;/p&gt;
&lt;p&gt;3. Click Add and then click Add Action.&lt;/p&gt;
&lt;p&gt;4. Select close the form in the Action drop down.&lt;/p&gt;
&lt;p&gt;Or you can use the following code line to close the form.This should be placed in the button click event.&lt;/p&gt;
&lt;p&gt;thisXDocument.View.Window.Close(true);&lt;/p&gt;</description></item><item><title>Close browser window with Hyperlink</title><link>https://www.infopathdev.com:443/forums/thread/34934.aspx</link><pubDate>Wed, 26 Nov 2008 12:47:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34934</guid><dc:creator>ghostme</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34934.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=34934</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Is there a way that I can close the entire browser using a hyperlink or button.&lt;/p&gt;&lt;p&gt;Cheers &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>