<?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: InfoPath 2003 - On Close of form</title><link>https://www.infopathdev.com:443/forums/thread/56811.aspx</link><pubDate>Tue, 13 Jul 2010 16:25:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56811</guid><dc:creator>Joemanc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56811.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=56811</wfw:commentRss><description>&lt;p&gt;Patrick/Greg - I&amp;#39;m stuck with this problem now myself, and I&amp;#39;m a bit confused by your answers.&lt;/p&gt;
&lt;p&gt;Patrick wrote: &amp;quot;This was one of the best additions to 2007&amp;quot;&lt;/p&gt;
&lt;p&gt;Greg wrote: &amp;quot;&lt;font face="Calibri" color="#1f497d" size="3"&gt;there is no way to capture such clicks to perform anything when they happen&amp;quot;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t been able to find anything that handles a user clicking on the X. I&amp;#39;ve added some code in the _Shutdown event handler to see if the form isDirty, but the code bombs out. It&amp;#39;s weird - it&amp;#39;s as if the form is closed, yet the code is still allowed run.&lt;/p&gt;
&lt;p&gt;Is there a workaround or is this the way it is?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Joe&lt;/p&gt;</description></item><item><title>Re: InfoPath 2003 - On Close of form</title><link>https://www.infopathdev.com:443/forums/thread/47072.aspx</link><pubDate>Wed, 16 Sep 2009 17:01:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47072</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47072.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=47072</wfw:commentRss><description>&lt;a name="_MailEndCompose"&gt;&lt;/a&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#1f497d;FONT-SIZE:11pt;"&gt;Sadly, Microsoft did not anticipate this need and there is no way to capture such clicks to perform anything when they happen.&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#1f497d;FONT-SIZE:11pt;"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#1f497d;FONT-SIZE:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#1f497d;FONT-SIZE:11pt;"&gt;I’m not sure whether this has been addressed in Office 2010, but I suspect it has not.&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: InfoPath 2003 - On Close of form</title><link>https://www.infopathdev.com:443/forums/thread/47042.aspx</link><pubDate>Wed, 16 Sep 2009 06:10:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47042</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47042.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=47042</wfw:commentRss><description>&lt;p&gt;Hi Bill,&lt;/p&gt;
&lt;p&gt;This was one of the best additions to 2007. There&amp;#39;s no way to do it in 2003. You&amp;#39;re right about OnShutdown being too late. I&amp;#39;ll ask Greg if he has any other ideas.&lt;/p&gt;</description></item><item><title>InfoPath 2003 - On Close of form</title><link>https://www.infopathdev.com:443/forums/thread/47002.aspx</link><pubDate>Tue, 15 Sep 2009 15:50:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47002</guid><dc:creator>Bill </dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47002.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=47002</wfw:commentRss><description>&lt;p&gt;Good morning:&amp;nbsp; I am attempting to modify an Infopath form so that when the [X] is clicked to close the form, any data in the form needs to be saved&amp;nbsp;and submited to the main data source.&amp;nbsp;&amp;nbsp;I have found that there is an OnClose function for Infopath 2007/VS 2005.&amp;nbsp; However, I am using Infopath 2003/VS 2003.&amp;nbsp; The only public event is OnShutdown which seems to be too late in the sequence of events.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Can anyone tell me how to accomplish what I am trying to do in Infopath 2003/VS 2003?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks in advance!&lt;/p&gt;
&lt;p&gt;Bill&lt;/p&gt;</description></item></channel></rss>