<?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 : CommandBar ACtiveX with MS Access...</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CommandBar ACtiveX with MS Access...]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 08:42:44 +0000</pubDate>
  <lastBuildDate>Wed, 21 May 2008 01:34:19 +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=10693</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[CommandBar ACtiveX with MS Access... : if you tried my code first, you&amp;#039;d...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10693&amp;PID=35507&amp;title=commandbar-activex-with-ms-access#35507</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10693<br /><strong>Posted:</strong> 21 May 2008 at 1:34am<br /><br />if you tried my code first, you'd save 3 days.<DIV></DIV><DIV></DIV><FONT color=#0000ff><DIV>&nbsp;</DIV><DIV>dim cbo as commandbarOptions</DIV><DIV><DIV><FONT color=#0000ff>set cbo = <strong>Toolbar1.options</strong></FONT></DIV><DIV>&nbsp;</DIV><DIV><FONT color=#000000>do same.</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>"Object" is property that Access add for any ActiveX object. strange that you work with Access and don't know it </FONT></DIV><DIV><FONT color=#000000>;-)</FONT></DIV></DIV></FONT>]]>
   </description>
   <pubDate>Wed, 21 May 2008 01:34:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10693&amp;PID=35507&amp;title=commandbar-activex-with-ms-access#35507</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar ACtiveX with MS Access... : Oleg: After three days of tearing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10693&amp;PID=35497&amp;title=commandbar-activex-with-ms-access#35497</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4184">derek</a><br /><strong>Subject:</strong> 10693<br /><strong>Posted:</strong> 20 May 2008 at 8:08pm<br /><br />Oleg:<DIV>After three days of tearing my hair out I found how to do it</DIV><DIV>&nbsp;</DIV><DIV><FONT color=#0000ff>dim cbf as XtremeCommandBars.CommandBarsFrame</FONT></DIV><DIV><FONT color=#0000ff>dim cbo as commandbarOptions</FONT></DIV><DIV><FONT color=#0000ff>me.visible=true</FONT></DIV><DIV><FONT color=#0000ff>doevents</FONT></DIV><DIV><FONT color=#0000ff>set cbf = Toolbar1.<strong>object</strong></FONT></DIV><DIV><FONT color=#0000ff>set cbo = cbf.options</FONT></DIV><DIV>&nbsp;</DIV><DIV>... and this has to be done in form_load NOT form_open, AFTER control has become visible, hence the me.visible=true command.</DIV><DIV><strong></strong>&nbsp;</DIV><DIV>Jeez Oleg, you're supposed to be chief developer.&nbsp; You <EM>invented </EM>the object property.&nbsp; Why the heck couldn't you just&nbsp;tell me to use it instead of all that BS about "works for me." ?</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 20 May 2008 20:08:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10693&amp;PID=35497&amp;title=commandbar-activex-with-ms-access#35497</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar ACtiveX with MS Access... :   oleg wrote:Hello,   1/. Just...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10693&amp;PID=35484&amp;title=commandbar-activex-with-ms-access#35484</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4184">derek</a><br /><strong>Subject:</strong> 10693<br /><strong>Posted:</strong> 20 May 2008 at 2:19pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br />Hello, <DIV>&nbsp;</DIV><DIV>1/. Just move it in designer to second row.</DIV><DIV>&nbsp;</DIV><DIV>2/. CommandBarsFrame2 is name of object that Access assigned to ActiveX.</DIV></td></tr></table> <DIV>&nbsp;</DIV><DIV>1/. I will try &amp; let U know.</DIV><DIV>&nbsp;</DIV><DIV>2/. That is the name property.&nbsp; U can rename it whatever you want. I call it "Toolbar1"&nbsp; You did not answer my question.&nbsp; Why is the cbo object empty even after I set it to the commandbarsFrame.options?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>This code also fails</DIV><DIV>&nbsp;</DIV><DIV><FONT color=#0000ff>dim cbf as commandbarsframe</FONT></DIV><DIV><FONT color=#0000ff>dim cbo as commandbarsoptions</FONT></DIV><DIV><FONT color=#0000ff></FONT>&nbsp;</DIV><DIV><FONT color=#0000ff>set cbf = toolbar1 'PRODUCES "TYPE MISMATCH ERROR"</FONT></DIV><DIV><FONT color=#0000ff>set cbo = cbf.options&nbsp; 'CBO has value of "NOTHING" after this.</FONT></DIV><DIV>&nbsp;</DIV><DIV>Basically I seem unable to assign any CodeJock objects to any vba object variables.</DIV><DIV>&nbsp;</DIV><DIV>So&nbsp;&nbsp;to cut to the chase - how the heck do I read and write the options?</DIV><DIV>Derek</DIV>]]>
   </description>
   <pubDate>Tue, 20 May 2008 14:19:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10693&amp;PID=35484&amp;title=commandbar-activex-with-ms-access#35484</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar ACtiveX with MS Access... : Hello,  Just move it in designer...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10693&amp;PID=35478&amp;title=commandbar-activex-with-ms-access#35478</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10693<br /><strong>Posted:</strong> 20 May 2008 at 1:24pm<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>Just move it in designer to second row.</DIV><DIV>&nbsp;</DIV><DIV>CommandBarsFrame2 is name of object that Access assigned to ActiveX.</DIV>]]>
   </description>
   <pubDate>Tue, 20 May 2008 13:24:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10693&amp;PID=35478&amp;title=commandbar-activex-with-ms-access#35478</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar ACtiveX with MS Access... :   oleg wrote: Hello, 1. it...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10693&amp;PID=35475&amp;title=commandbar-activex-with-ms-access#35475</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4184">derek</a><br /><strong>Subject:</strong> 10693<br /><strong>Posted:</strong> 20 May 2008 at 11:43am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br /><P>Hello,</P><DIV>1. it depends how they have to be located. If together - you need 1 frame. if in different position of screen - 2 frames.</DIV><DIV>&nbsp;</DIV><DIV>2. It works for me:</DIV><DIV>Dim cbo As CommandBar<strong>s</strong>Options<BR>Set cbo = CommandBarsFrame2.Options<BR></DIV><DIV>&nbsp;</DIV></td></tr></table> <DIV>&nbsp;</DIV><DIV>1.&nbsp; I need them together.&nbsp; But using designer how do I force controls to be on 2 different rows?&nbsp; Whenever I add a new control it always goes on the right-hand end until it exceeds the form width, then it wraps.&nbsp; That's not what I want.</DIV><DIV>&nbsp;</DIV><DIV>2.&nbsp; What is "CommandBarsFrame2"?&nbsp; Is that just the name property of the CommandBarsFrame?&nbsp; Assuming that's what you mean -&nbsp; it does not work for me...</DIV><DIV>&nbsp;</DIV><DIV><FONT color=#0000ff>Dim cbo As CommandBar<strong>s</strong>Options<BR>Set cbo = MyToolbar.Options</FONT></DIV><DIV><FONT color=#0000ff>'fine - no errors so far</FONT></DIV><DIV><FONT color=#0000ff></FONT>&nbsp;</DIV><DIV><FONT color=#0000ff>'test read any one option with messagebox...</FONT></DIV><DIV><FONT color=#0000ff>msgbox cbo.showexpandbuttonalways</FONT></DIV><DIV>&nbsp;</DIV><DIV>'ERROR "Object variable or With block variable not set"</DIV><DIV>&nbsp;</DIV><DIV>when typing the messagebox line, Access does show me a dropdown list of properties of Options, so something is trying to work.&nbsp; But I always et that error when trying to access any property.</DIV><DIV>&nbsp;</DIV><DIV>Thanks - Derek</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 20 May 2008 11:43:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10693&amp;PID=35475&amp;title=commandbar-activex-with-ms-access#35475</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar ACtiveX with MS Access... : Hello, 1. it depends how they...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10693&amp;PID=35440&amp;title=commandbar-activex-with-ms-access#35440</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10693<br /><strong>Posted:</strong> 20 May 2008 at 12:36am<br /><br /><P>Hello,</P><DIV>1. it depends how they have to be located. If together - you need 1 frame. if in different position of screen - 2 frames.</DIV><DIV>&nbsp;</DIV><DIV>2. It works for me:</DIV><DIV>Dim cbo As CommandBar<strong>s</strong>Options<BR>Set cbo = CommandBarsFrame2.Options<BR></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 20 May 2008 00:36:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10693&amp;PID=35440&amp;title=commandbar-activex-with-ms-access#35440</guid>
  </item> 
  <item>
   <title><![CDATA[CommandBar ACtiveX with MS Access... : I am hoping someone will be nice...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10693&amp;PID=35439&amp;title=commandbar-activex-with-ms-access#35439</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4184">derek</a><br /><strong>Subject:</strong> 10693<br /><strong>Posted:</strong> 20 May 2008 at 12:15am<br /><br /><DIV>I am hoping someone will be nice enough to help a codeJock beginner. I'm an Access 2002/2003/2007 developer trying to implement some menubars and toolbars as a replacement for the ribbon(which my customers hate).&nbsp; I understand I must use commandbarsframe and I've successfully designed a couple of nice toolbars using the designer.&nbsp; I drop a commandbarsframe on an access form, load the xcb files, adjust the size a little, and it looks good.&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Here's my problems/questions.</DIV><DIV>&nbsp;</DIV><DIV>1/. if I want 2 toolbars on one form, do I need 2 commandbarsframe(s) or is there a way to fit them both in 1 frame.&nbsp; So far I' m using 2.</DIV><DIV>&nbsp;</DIV><DIV>2/. I studied the object browser but I can't seem to access any of the objects with vba.&nbsp; For instance how do I access the CommandBarOptions object (or can I access it)?&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>I tried this in both form_open and form_load ...</DIV><DIV><FONT color=#0000cc>dim cbo as commandbaroptions</FONT></DIV><DIV>but then I need something like</DIV><DIV><FONT color=#0000ff>set cbo = ????? (what?)</FONT></DIV><DIV><FONT color=#000000>If I don't "set" it to something it seems I can't use it.&nbsp;</FONT></DIV><DIV>&nbsp;</DIV><DIV>similarly, how can I programatically access the commandbarsframe object, and the globalsettings object?&nbsp; What works in vb doesn't seem to work in Access vba.</DIV><DIV>&nbsp;</DIV><DIV>3/. How do I make it work without the ocx license file?&nbsp; Whenever I remove the license (as I legally must) the activex controls come up with the dreaded "Control is empty" error.&nbsp; I read the tutorial about including license information by loading it into the globalsettings.&nbsp; I followed those instructions exactly but it doesn't seem to help.&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>Thanks for any pointers you can give.</DIV><DIV>Derek.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 20 May 2008 00:15:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10693&amp;PID=35439&amp;title=commandbar-activex-with-ms-access#35439</guid>
  </item> 
 </channel>
</rss>