<?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: Disabling the Menu Bar</title><link>https://www.infopathdev.com:443/forums/thread/10141.aspx</link><pubDate>Mon, 24 Jul 2006 18:51:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10141</guid><dc:creator>Karsten Brocksieper</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10141.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10141</wfw:commentRss><description>Hello Krishna,&lt;br /&gt;&lt;br /&gt;to use the CommandBars collection, the form template must be fully trusted. You can use any one of the following options to make sure that your form template is fully trusted: &lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Use the Microsoft .NET Framework 1.1 Configuration utility to grant Full Trust permissions only to your Visual C# .NET code.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Digitally sign your form template file (.xsn) by using a code-signing certificate. When you use a code-signing certificate to digitally sign your form template file, users are prompted to trust the form when they open the form. This makes your form fully trusted. Therefore, Full Trust permissions are granted to your Visual C# .NET code.&lt;/li&gt;&lt;li&gt;Use external Automation in InfoPath 2003 to call the RegisterSolution method.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Please refer to:&lt;br /&gt;&lt;a href='http://support.microsoft.com/kb/867442/en-us' target='_blank' title='http://support.microsoft.com/kb/867442/en-us'&lt;a target="_blank" href=http://support.microsoft.com/kb/867442/en-us&gt;http://support.microsoft.com/kb/867442/en-us&lt;/a&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope this helps</description></item><item><title>Re: Disabling the Menu Bar</title><link>https://www.infopathdev.com:443/forums/thread/10140.aspx</link><pubDate>Mon, 24 Jul 2006 13:44:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10140</guid><dc:creator>Kalyan Gaddam</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10140.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10140</wfw:commentRss><description>Hello Krishna,&lt;br /&gt;&lt;br /&gt;What is the Security level set for your Form?</description></item><item><title>Re: Disabling the Menu Bar</title><link>https://www.infopathdev.com:443/forums/thread/10139.aspx</link><pubDate>Mon, 24 Jul 2006 13:30:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10139</guid><dc:creator>krishna.prasad</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10139.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10139</wfw:commentRss><description>Hi drgkreddy,&lt;br /&gt;&lt;br /&gt; Just i have used the code in the link what you mentioned. but it is comming with error like &lt;font color="green"&gt;Security error &lt;/font id="green"&gt;at this line of code.&lt;br /&gt;&lt;font color="red"&gt;ObjectWrapper commandBars = (ObjectWrapper)thisApplication.ActiveWindow.CommandBars;&lt;/font id="red"&gt;&lt;br /&gt;&lt;br /&gt;please solve my problem&lt;br /&gt;</description></item><item><title>Re: Disabling the Menu Bar</title><link>https://www.infopathdev.com:443/forums/thread/10138.aspx</link><pubDate>Mon, 24 Jul 2006 13:25:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10138</guid><dc:creator>Kalyan Gaddam</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10138.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10138</wfw:commentRss><description>Hello Krishna&lt;br /&gt;&lt;br /&gt;Also read the Link below, if you would like to have more information on Customizing Menus and Toolbars&lt;br /&gt;&lt;br /&lt;a target="_blank" href=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_ta/html/OfficeInfoPathCustomizingInfoPathMenusandToolbars.asp&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_ta/html/OfficeInfoPathCustomizingInfoPathMenusandToolbars.asp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope this helps you.</description></item><item><title>Re: Disabling the Menu Bar</title><link>https://www.infopathdev.com:443/forums/thread/10137.aspx</link><pubDate>Mon, 24 Jul 2006 13:06:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10137</guid><dc:creator>Karsten Brocksieper</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10137.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10137</wfw:commentRss><description>Hello,&lt;br /&gt;&lt;br /&gt;the above mentioned way describe the steps in the UI.&lt;br /&gt;&lt;br /&gt;On the other side you can do the same with scripting. For example you can hide the 'Standard' and 'Formatting' toolbar with the following commands in the OnLoad event of the form.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;var objCommandbars = Application.ActiveWindow.Commandbars;&lt;br /&gt;objCommandbars("Standard").Enabled = false;&lt;br /&gt;objCommandbars("Formatting").Enabled = false;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Hope this helps.</description></item><item><title>Re: Disabling the Menu Bar</title><link>https://www.infopathdev.com:443/forums/thread/10136.aspx</link><pubDate>Mon, 24 Jul 2006 12:42:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10136</guid><dc:creator>Kalyan Gaddam</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10136.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10136</wfw:commentRss><description>Hello, &lt;br /&gt;&lt;br /&gt;Right Click on the Small arrow at the end of the tool bar and Also you can Check/Uncheck commands.For More options select Customize. In the Commands Tab select Rearrange Commands and then Delete the Controls you dont want to show in the Menu Bar/Command Bar.&lt;br /&gt;&lt;br /&gt;Hope this will help you.</description></item><item><title>Disabling the Menu Bar</title><link>https://www.infopathdev.com:443/forums/thread/5736.aspx</link><pubDate>Mon, 24 Jul 2006 11:52:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5736</guid><dc:creator>krishna.prasad</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5736.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5736</wfw:commentRss><description>Hi Friends,&lt;br /&gt;&lt;br /&gt; I am very happy that I am getting replies for my posts and I am overcoming my problems in InfoPath because of this Forum. Thanks for all your co-operation.&lt;br /&gt; Now my new problem is disabling the Menu bar, command bars in InfoPath form when the user is filling the form. Please help me in this problem. Thanks in Advance.&lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>