![]()  | 
 
Problem loading default command bar | 
 
    Post Reply  
   | 
  
| Author | |
   
   bcriswell  
   
   Newbie  
   Joined: 08 June 2005 Location: United States Status: Offline Points: 2  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Problem loading default command barPosted: 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  | 
 |
![]()  | 
 |
   
   SuperMario  
   
   Senior Member  
    
   Joined: 14 February 2004 Status: Offline Points: 18057  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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. 
   
   | 
 |
![]()  | 
 |
   
   bcriswell  
   
   Newbie  
   Joined: 08 June 2005 Location: United States Status: Offline Points: 2  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 08 June 2005 at 3:04pm | 
 
| 
   
    
   Thanks SuperMario!  That did the trick.
    
   
   | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |