<?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: Suppressing Infopath Toolbars</title><link>https://www.infopathdev.com:443/forums/thread/7802.aspx</link><pubDate>Thu, 06 Oct 2005 18:19:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7802</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7802.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7802</wfw:commentRss><description>Hi Qwer and welcome to our forum!&lt;br /&gt;How much code do you have? I agree with Franck that converting to managed code is a good idea. VB.NET should do the trick.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: Suppressing Infopath Toolbars</title><link>https://www.infopathdev.com:443/forums/thread/7801.aspx</link><pubDate>Wed, 05 Oct 2005 00:45:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7801</guid><dc:creator>franck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7801.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7801</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Unfortunately, you won't be able to mix vbscript with C#.  When you first started your design, using Visual Studio.Net would throw you into Managed Code (C# or VB.Net).  The route you took was to design a form through IP, which then supports vbscript or jscript.&lt;br /&gt;&lt;br /&gt;Sorry, I don't have any scripting to do this.&lt;br /&gt;&lt;br /&gt;Franck Dauché</description></item><item><title>Re: Suppressing Infopath Toolbars</title><link>https://www.infopathdev.com:443/forums/thread/7800.aspx</link><pubDate>Wed, 05 Oct 2005 00:15:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7800</guid><dc:creator>qwer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7800.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7800</wfw:commentRss><description>thanks franck&lt;br /&gt;&lt;br /&gt;can this be done in vbscipt?&lt;br /&gt;&lt;br /&gt;i am half way through designing a form and i started it using vbscript. I thought that you could only use jscript or vbscript behind the form? how do you go about attaching c# script (while having vbscript)?</description></item><item><title>Re: Suppressing Infopath Toolbars</title><link>https://www.infopathdev.com:443/forums/thread/7799.aspx</link><pubDate>Tue, 04 Oct 2005 09:04:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7799</guid><dc:creator>franck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7799.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=7799</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Yes you can.  I am assuming that you will use C# behind your form.&lt;br /&gt;&lt;br /&gt;Call from OnLoad:&lt;br /&gt;public void OnLoad(DocReturnEvent e)&lt;br /&gt;{EnableToolBars(false);}&lt;br /&gt;&lt;br /&gt;private void EnableToolBars(bool enableToolbar)&lt;br /&gt;{&lt;br /&gt;  ObjectWrapper commandBars = (ObjectWrapper) thisApplication.ActiveWindow.CommandBars;&lt;br /&gt;  EnableBar(enableToolbar, "Menu Bar", commandBars);&lt;br /&gt;  EnableBar(enableToolbar, "Standard", commandBars);	&lt;br /&gt;}&lt;br /&gt;private void EnableBar(bool enableToolbar, string barName, ObjectWrapper commandBars)&lt;br /&gt;{&lt;br /&gt;  BindingFlags flags = BindingFlags.GetProperty | BindingFlags.DeclaredOnly |  BindingFlags.Public | BindingFlags.Instance;&lt;br /&gt;object[] args =  new object[] {barName};&lt;br /&gt;	CommandBar commandBar = (CommandBar) commandBars.InvokeByName(&lt;br /&gt;				"Item",         &lt;br /&gt;				flags,&lt;br /&gt;				args,      // arguments&lt;br /&gt;				null);     // Culture&lt;br /&gt;			commandBar.Enabled = enableToolbar;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Hope that it helps.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Franck Dauché</description></item><item><title>Suppressing Infopath Toolbars</title><link>https://www.infopathdev.com:443/forums/thread/4955.aspx</link><pubDate>Tue, 04 Oct 2005 04:41:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4955</guid><dc:creator>qwer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4955.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4955</wfw:commentRss><description>Is there a way to suppress the standard infopath menu &amp; toolbars (eg, file/edit/view menu, standard and formatting toolbars)? I want the user to basically only see the form appearing with no toolbars, just like a web page viewed in full screen. Can anyone help me out please?</description></item></channel></rss>