Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - LoadDesignerBars
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

LoadDesignerBars

 Post Reply Post Reply
Author
Message
nvierros View Drop Down
Groupie
Groupie
Avatar

Joined: 02 July 2006
Location: Australia
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote nvierros Quote  Post ReplyReply Direct Link To This Post Topic: LoadDesignerBars
    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!
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
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.033 seconds.