Print Page | Close Window

LoadDesignerBars

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=4551
Printed Date: 15 September 2025 at 9:06am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: LoadDesignerBars
Posted By: nvierros
Subject: LoadDesignerBars
Date Posted: 06 July 2006 at 7:52pm
How do i utilise
 

Commandbars.LoadDesignerBars() in vb .net 2005

in vb6 i would use 

CommandBars.LoadDesignerBars App.Path & "\mainbar.xcb"
 
But in vb .net 2005 it wont let me do it, even if i do:
 
CommandBars.LoadDesignerBars ("C:\mainbar.xcb")
 
Could someone please help!
 
Cheers
 
OK I changed the code to:
 
CommandBars.LoadDesignerBars ("C:\mainbar.xcb", me)
 
AND NOTHING HAPPENS AT ALL! Cry What am i missing?
 
edit: Just as a note, this only happens on MDI forms not, non MDI forms!
 



Replies:
Posted By: Oleg
Date Posted: 07 July 2006 at 9:01am
Hi,
Just create new application, add commandbars, add

AxCommandBars1.LoadDesignerBars("C:\visio.xcb", Nothing)

line and it works.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net