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

Generating Code

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

Joined: 27 April 2006
Location: United Kingdom
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote robdon Quote  Post ReplyReply Direct Link To This Post Topic: Generating Code
    Posted: 27 April 2006 at 4:34pm

Hi,

I'm just looking into this software as I need a replacement for my current command bar software.

If I design my CommandBar in the designer is there any way to produce the vb 'code' to create that command bar, or do I have to save it as a .xcb file, and then load it in each time?

If so, does that mean I have to distribute the .xcb files with my app?

I dont really want any more files to distribute, I would like to do it all in code, but I would like the 'ease' of designing it in the designer first.

Thanks for any help,

Rob Donovan

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: 27 April 2006 at 4:43pm
No, you can not get the 'code' from the xcb file.  However, you can right-click on the commandbars control on your from, then select Load CommandBars(*.OCX) and it will add your XCB file as a resourse so you don't have to distribute the file.  Just call LoadDesignerBars with no parameters to load it.
Back to Top
robdon View Drop Down
Groupie
Groupie
Avatar

Joined: 27 April 2006
Location: United Kingdom
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote robdon Quote  Post ReplyReply Direct Link To This Post Posted: 27 April 2006 at 4:51pm

Hi,

Thanks for the quick reply.

Thats just what I needed.

Your control is certainly much more usable (and supported) than my current supplier.

Looks like I might be joining you soon, if things keep going this well ;)

Rob.

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.063 seconds.