Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Problem loading default command bar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem loading default command bar

 Post Reply Post Reply
Author
Message
bcriswell View Drop Down
Newbie
Newbie


Joined: 08 June 2005
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote bcriswell Quote  Post ReplyReply Direct Link To This Post Topic: Problem loading default command bar
    Posted: 08 June 2005 at 1:43pm

I'm evaluating the command bars product and I'm doing the Designer Tutorial (Tutorial 2).  I'm following the instructions but cannot get the default toolbar to appear.  A toolbar does appear but it doesn't have any icons.  I can add a path to an existing xcb file and it works.

CommandBars.LoadDesignerBars gives a blank toolbar(no buttons).

CommandBars.LoadDesignerBars App.Path & "\visio.xcb" displays a toolbar.

Do I have to create my own default toolbar before it will show up?



Edited by bcriswell
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 08 June 2005 at 2:03pm
The default toolbar is nothing more than some "Designer Data" saved into the CommandBars object.  To clear this data, right-click on the control and select "Clear Designer Data".  To load your own file, select "Load CommandBars (*.xcb)" from the menu.  If you select the "Edit" option it will open the DesignerStudio.  Here is the default menu that should load. 2005-06-08_140218_Form1.zip All you need to do is load it as described above.
Back to Top
bcriswell View Drop Down
Newbie
Newbie


Joined: 08 June 2005
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote bcriswell Quote  Post ReplyReply Direct Link To This Post Posted: 08 June 2005 at 3:04pm
Thanks SuperMario!  That did the trick.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.