<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Closing Form</title><link>https://www.infopathdev.com:443/forums/thread/3358.aspx</link><pubDate>Wed, 25 Oct 2006 16:09:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3358</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3358.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3358</wfw:commentRss><description>thisXDocument.View.Window.Close(true);&lt;br /&gt;Above statement closed the InfoPath window. You can add this statement after your save operation.&lt;br /&gt;&lt;br /&gt;There are lot of forums which already have this. From next time please in the forums first, if you dont find an answer then post it here.</description></item><item><title>Closing Form</title><link>https://www.infopathdev.com:443/forums/thread/1625.aspx</link><pubDate>Wed, 25 Oct 2006 13:25:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1625</guid><dc:creator>Bill </dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1625.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1625</wfw:commentRss><description>Good morning:&lt;br /&gt;&lt;br /&gt;I have a button on my form that when clicked saves the xml document to a shared location on my network and creates a hyperlink in my CRM.  In the same code I would like to close Infopath.&lt;br /&gt;&lt;br /&gt;Is there a way to do this? If yes, can someone provide me the code?&lt;br /&gt;&lt;br /&gt;Thanks!</description></item></channel></rss>