<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Automatically pressing of an butt&#111;n?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Automatically pressing of an butt&#111;n?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 12:01:28 +0000</pubDate>
  <lastBuildDate>Wed, 29 Jun 2005 11:10:50 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=2462</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Automatically pressing of an butt&#111;n? : Try: Set Control = CommandBars.FindControl(,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2462&amp;PID=7357&amp;title=automatically-pressing-of-an-button#7357</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 2462<br /><strong>Posted:</strong> 29 June 2005 at 11:10am<br /><br />Try:<br>Set Control = CommandBars.FindControl(, ID_VIEW_STATUSBAR,,<span style="font-weight: bold;">True</span>)<br>]]>
   </description>
   <pubDate>Wed, 29 Jun 2005 11:10:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2462&amp;PID=7357&amp;title=automatically-pressing-of-an-button#7357</guid>
  </item> 
  <item>
   <title><![CDATA[Automatically pressing of an butt&#111;n? : Yes that&amp;#039;s right! CommandBars.FindControl(...)...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2462&amp;PID=7339&amp;title=automatically-pressing-of-an-button#7339</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=983">finn</a><br /><strong>Subject:</strong> 2462<br /><strong>Posted:</strong> 29 June 2005 at 6:11am<br /><br /><P>Yes that's right! CommandBars.FindControl(...) returns Nothing. When I use your method it works very well, but I need the Execute method always! Some more information:</P><UL><LI>I use VB 6.0 of Visual Studio 6.0 Enterprise Edition</LI><LI>My system is Windows XP Home Edition SP2</LI><LI>I have version 9.51 of the Xtreme Suite Pro ActiveX</LI></UL><P>I hope you can help me!</P><P>Yours,</P><P>Finn! <IMG src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></P>]]>
   </description>
   <pubDate>Wed, 29 Jun 2005 06:11:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2462&amp;PID=7339&amp;title=automatically-pressing-of-an-button#7339</guid>
  </item> 
  <item>
   <title><![CDATA[Automatically pressing of an butt&#111;n? : CommandBars.FindControl(, ID_VIEW_STATUSBAR)...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2462&amp;PID=7318&amp;title=automatically-pressing-of-an-button#7318</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=756">gshawn</a><br /><strong>Subject:</strong> 2462<br /><strong>Posted:</strong> 28 June 2005 at 1:19pm<br /><br /><P>CommandBars.FindControl(, ID_VIEW_STATUSBAR) probably returned Nothing... You'll always want to account for that scenario when using .FindControl.</P><P>Try </P><P>Dim Control As CommandBarControl<BR>Set Control = CommandBars.FindControl(, ID_VIEW_STATUSBAR)<BR>If Not Control Is Nothing Then Control.Execute</P>]]>
   </description>
   <pubDate>Tue, 28 Jun 2005 13:19:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2462&amp;PID=7318&amp;title=automatically-pressing-of-an-button#7318</guid>
  </item> 
  <item>
   <title><![CDATA[Automatically pressing of an butt&#111;n? : One question... When I type this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2462&amp;PID=7317&amp;title=automatically-pressing-of-an-button#7317</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=983">finn</a><br /><strong>Subject:</strong> 2462<br /><strong>Posted:</strong> 28 June 2005 at 12:48pm<br /><br /><P>One question... When I type this vb-code (I use VB 6.0 Enterprise Edition on Windows XP), I get the run-time error 91: object variable or with block variable not set! </P><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><P>CommandBars.FindControl(, ID_VIEW_STATUSBAR).Execute</P></BLOCKQUOTE><P dir=ltr>I hope you can help me...</P><P dir=ltr>Yours,</P><P dir=ltr>Finn!</P>]]>
   </description>
   <pubDate>Tue, 28 Jun 2005 12:48:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2462&amp;PID=7317&amp;title=automatically-pressing-of-an-button#7317</guid>
  </item> 
  <item>
   <title><![CDATA[Automatically pressing of an butt&#111;n? : That&amp;#039;s want I wanted...  I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2462&amp;PID=7316&amp;title=automatically-pressing-of-an-button#7316</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=983">finn</a><br /><strong>Subject:</strong> 2462<br /><strong>Posted:</strong> 28 June 2005 at 12:41pm<br /><br /><P>That's want I wanted... <IMG src="http://forum.codejock.com/smileys/smiley32.gif" border="0"></P><P>I need the CommandBarControl.Execute() method! Thank you very much!</P><P>Yours,</P><P>Finn! <IMG src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></P>]]>
   </description>
   <pubDate>Tue, 28 Jun 2005 12:41:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2462&amp;PID=7316&amp;title=automatically-pressing-of-an-button#7316</guid>
  </item> 
  <item>
   <title><![CDATA[Automatically pressing of an butt&#111;n? : You can use the CommandBarControl.Execute()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2462&amp;PID=7303&amp;title=automatically-pressing-of-an-button#7303</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 2462<br /><strong>Posted:</strong> 28 June 2005 at 10:17am<br /><br />You can use the CommandBarControl.Execute() method to execute acommand.&nbsp; If you want the button to look "pressed" then you mustuse the CommandBarControl.Checked property.]]>
   </description>
   <pubDate>Tue, 28 Jun 2005 10:17:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2462&amp;PID=7303&amp;title=automatically-pressing-of-an-button#7303</guid>
  </item> 
  <item>
   <title><![CDATA[Automatically pressing of an butt&#111;n? : Hello!  I want to press automatically...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2462&amp;PID=7289&amp;title=automatically-pressing-of-an-button#7289</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=983">finn</a><br /><strong>Subject:</strong> 2462<br /><strong>Posted:</strong> 27 June 2005 at 4:52am<br /><br /><P>Hello! <IMG src="http://forum.codejock.com/smileys/smiley1.gif" border="0"></P><P>I want to press automatically a button (the ID is "ID_BUTTON") in my CommandBar when the user press my CommandButton (name is "cmdAuto")...</P><P>I'm sorry for my bad English but I'm from Germany and I don't know how to say some things... <IMG src="http://forum.codejock.com/smileys/smiley9.gif" border="0"></P><P>Yours,</P><P>Finn! <IMG src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></P>]]>
   </description>
   <pubDate>Mon, 27 Jun 2005 04:52:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2462&amp;PID=7289&amp;title=automatically-pressing-of-an-button#7289</guid>
  </item> 
 </channel>
</rss>