<?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: Cannot Re Enable CommandBars within _Shutdown ...</title><link>https://www.infopathdev.com:443/forums/thread/6512.aspx</link><pubDate>Wed, 23 Feb 2005 17:04:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6512</guid><dc:creator>ScottAtRVC</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6512.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6512</wfw:commentRss><description>Thanks Greg.&lt;br /&gt;&lt;br /&gt;Unfortunatly i cannot place a close button on the form.&lt;br /&gt;&lt;br /&gt;For the time being the solution is going to be - using the OnLoad event, all menus will be enabled.  Then appropriate menus will be disabled.  I know this is not the nicest solution.  but it will have to do for the this iteration.&lt;br /&gt;&lt;br /&gt;Scott</description></item><item><title>Re: Cannot Re Enable CommandBars within _Shutdown ...</title><link>https://www.infopathdev.com:443/forums/thread/6511.aspx</link><pubDate>Tue, 22 Feb 2005 22:53:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6511</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6511.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6511</wfw:commentRss><description>I'm not sure that there is a good place for you to do this. As you state there is no OnClose, or OnExit or anything like it.&lt;br /&gt;&lt;br /&gt;ONE possibility is to have a close button on your form. And in the code for that button you perform your tasks. If you have a way to lock down the application from being shut down in any other way, then this would make sense. Otherwise, they can still bypass the button.&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]</description></item><item><title>Cannot Re Enable CommandBars within _Shutdown ...</title><link>https://www.infopathdev.com:443/forums/thread/4557.aspx</link><pubDate>Mon, 21 Feb 2005 09:16:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4557</guid><dc:creator>ScottAtRVC</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4557.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4557</wfw:commentRss><description>Hi All,&lt;br /&gt;&lt;br /&gt;I am using the InfoPath OnLoad event for disabling certain menus.&lt;br /&gt;&lt;br /&gt;Ideally i would like to re enable these menus when the user closes the&lt;br /&gt;form.  As there is no OnClose event i looked at the _Shutdown event.&lt;br /&gt;&lt;br /&gt;I would like to understand why the _Shutdown event cannot be used for&lt;br /&gt;such processing?&lt;br /&gt;&lt;br /&gt;many thanks &lt;br /&gt;Scott</description></item></channel></rss>