<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>About _Shutdown function in InfoPath 2007</title><link>https://www.infopathdev.com:443/forums/thread/31244.aspx</link><pubDate>Thu, 07 Aug 2008 04:04:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31244</guid><dc:creator>longseu</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31244.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=31244</wfw:commentRss><description>&lt;p&gt;Hi, everybody, I blocked by the _Shutdown function. Here is the detail info:&lt;/p&gt;
&lt;p&gt;I found the _Shutdown function in Infopath 2003, currently I can use this function to show a message box before the infopath file closed. But, when I tryed to access data node using&amp;nbsp;&lt;em&gt; this.thisXDocument.DOM.selectSingleNode(&amp;quot;/my:myFields/my:field1&amp;quot;).text, &lt;/em&gt;there is no response to this when closing the infopath file. No error messages, no actions. Anything wrong?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;By the way, is there a function like _Shutdown in Infopahth 2007?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am trying to capture the closing event, and do something before the infopath closed.&lt;/p&gt;
&lt;p&gt;Any body can help me?&amp;nbsp; It is very urgent, any advice will be appreciated!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>