Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - sample snippet to use LoadDesignerBars from file?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

sample snippet to use LoadDesignerBars from file?

 Post Reply Post Reply
Author
Message
sforces View Drop Down
Groupie
Groupie


Joined: 13 May 2009
Status: Offline
Points: 71
Post Options Post Options   Thanks (0) Thanks(0)   Quote sforces Quote  Post ReplyReply Direct Link To This Post Topic: sample snippet to use LoadDesignerBars from file?
    Posted: 13 May 2009 at 1:11pm
Suggestion: It would really be helpful if the .chm file supplied had a small snippet of code sample showing how to use a particular method.

I'm new to using CodeJock controls. I'm using Visual Studo 2008 VB.NET and struggling trying to get the CommandBar to load my command bar layout from a file. Can someone provide a small sample of how? I've created a new form, put the Xtreme CommandBars Control on the form. It's named AxCommandBars1.
Back to Top
sforces View Drop Down
Groupie
Groupie


Joined: 13 May 2009
Status: Offline
Points: 71
Post Options Post Options   Thanks (0) Thanks(0)   Quote sforces Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 2009 at 9:42am
Solved. Was a typo on the extension. Had .xcp instead of .xcb.
Still would be nice to have snippets in the .chm for each of the methods.

In case anyone else needs it, I put this in Form load:
AxCommandBars1.LoadDesignerBars(".\Application.xcb", Nothing)

Of course I later changed the hard coded path and name part to be a assembled.
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.047 seconds.