Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > General Discussion
  New Posts New Posts RSS Feed - .xcb file in vb6
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

.xcb file in vb6

 Post Reply Post Reply
Author
Message
_ALIMS_ View Drop Down
Newbie
Newbie


Joined: 17 October 2011
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote _ALIMS_ Quote  Post ReplyReply Direct Link To This Post Topic: .xcb file in vb6
    Posted: 19 October 2011 at 9:18am

hi guyzz


i have made a ribbon bar using designer now the file is in .xcb format...


pls tell me how can i apply ribbon bar to visual basic 6 form???


THANKS in ADVANCE.

Back to Top
ruschmeier@truncad.d View Drop Down
Groupie
Groupie


Joined: 12 January 2012
Location: Germany
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote ruschmeier@truncad.d Quote  Post ReplyReply Direct Link To This Post Posted: 12 January 2012 at 4:01am
Hi there,
 
nice to see, that someone is using VB6 and the designer.
 
You probably found a solution by now, but may be it will help someone else to get an answer here.
 
        CommandBarsGlobalSettings.App = App
        Korpus.CommandBars.LoadDesignerBars App.path & "\xxx.xcb"
 
Will load a Designer Ribbonbar. (where xxx.xcb is the name of the file exported from the designer.)
 
To be able to use all the IDs you set up the Designer can create a Ressource.bas file where all the IDs are stored as constants. (Use the Menu in the Designer "CommandBars->Resource Symbols... and export it. Then import it into your project.)
 
Regards,
Frank
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.234 seconds.