Print Page | Close Window

.xcb file in vb6

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Active-X COM Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=19088
Printed Date: 21 November 2024 at 8:41am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: .xcb file in vb6
Posted By: _ALIMS_
Subject: .xcb file in vb6
Date 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.




Replies:
Posted By: ruschmeier@truncad.d
Date 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



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