<?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>Executing menu and toolbar commands from the InfoPath Object Model</title><link>https://www.infopathdev.com:443/forums/thread/26208.aspx</link><pubDate>Tue, 05 Feb 2008 12:35:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26208</guid><dc:creator>memo.net</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26208.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26208</wfw:commentRss><description>&lt;pre class="WNPost" style="WORD-WRAP:break-word;"&gt;I was looking for a way to control the displayed actions inside InfoPath 
toolbar depending on the current view, thin I found this good article which 
is seams to be going to help me on solving my problem, I realized through 
this simple article that I can remove the toolbar from the views and I can 
access it functionality by using custom buttons, and that is very wonderful, 
but the problem that I face right now is very strange, that I cannt access 
ActiveWindows from application object as it displayed in the article. For 
more information about my problem please visit the following link I already 
post my question there
&lt;a class="WNAnc" href="http://forums.microsoft.com/forums/ShowPost.aspx?PostID=2781642&amp;amp;SiteID=1" target="winout"&gt;http://forums.microsoft.com/forums/ShowPost.aspx?PostID=2781642&amp;amp;SiteID=1&lt;/a&gt;
The article link 
&lt;a class="WNAnc" href="http://blogs.msdn.com/infopath/archive/2004/04/19/116314.aspx" target="winout"&gt;http://blogs.msdn.com/infopath/archive/2004/04/19/116314.aspx&lt;/a&gt;
&lt;/pre&gt;&lt;pre class="WNPost" style="WORD-WRAP:break-word;"&gt;&lt;font face="Calibri"&gt;I have been created a very simple InfoPath form that contain a button and I add a custom code to it that I gonna use it to call my code, so you can see how exactly I’m trying to do it, so you can notice the problem on it, and if you can create a very simple example that solve the same problem please, you can send it for me at the following E-mail address &lt;/font&gt;&lt;a title="mailto:alderadow@yahoo.com" href="mailto:alderadow@yahoo.com"&gt;&lt;font face="Calibri" size="3"&gt;alderadow@yahoo.com&lt;/font&gt;&lt;/a&gt;&lt;font face="Calibri" size="3"&gt;, to download my example please enter the following link, and thanks you very much&lt;/font&gt;&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;a title="http://jazmawi.com/InfoPath/Test.zip" href="http://jazmawi.com/InfoPath/Test.zip"&gt;&lt;font face="Calibri" size="3"&gt;http://jazmawi.com/InfoPath/Test.zip&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;/pre&gt;</description></item></channel></rss>