<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Disabling toolbars/command bars when form is loaded</title><link>https://www.infopathdev.com:443/forums/thread/19422.aspx</link><pubDate>Mon, 30 Apr 2007 11:18:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19422</guid><dc:creator>K.Ramana Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19422.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=19422</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Follow below steps to disabeling toolbars and commands,&lt;/p&gt;&lt;p&gt;1.Open the form design mode.&lt;br /&gt;2.Go to &amp;quot;Tools&amp;quot; menu and select &amp;quot;Customize&amp;quot; option.&lt;br /&gt;3.Select Category and Click on &amp;quot;Rearrange Commands..&amp;quot;.&lt;br /&gt;4.Select option you don&amp;#39;t want and delete that option&lt;br /&gt;5.Click on &amp;quot;Close&amp;quot; .&lt;/p&gt;&lt;p&gt;I hope this will help for you.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Disabling toolbars/command bars when form is loaded</title><link>https://www.infopathdev.com:443/forums/thread/19400.aspx</link><pubDate>Fri, 27 Apr 2007 20:27:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19400</guid><dc:creator>aehicks</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19400.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=19400</wfw:commentRss><description>I would like to limit the number of toolbars and commands that users can see when my InfoPath 2003 form is loaded.&amp;nbsp; I am using VBscript.&amp;nbsp; Also, is there anyway to disable &amp;quot;File, Close&amp;quot; and &amp;quot;File, Exit&amp;quot;, as well as the close button in the top right corner?&amp;nbsp; Basically, I&amp;#39;m trying to force users to exit the form using only a button.&amp;nbsp; The reason is because I have code that runs when the user selects the button.&amp;nbsp; Any ideas??</description></item></channel></rss>