Print Page | Close Window

Problem with change style

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=15894
Printed Date: 06 October 2024 at 2:30pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem with change style
Posted By: microchip
Subject: Problem with change style
Date Posted: 20 December 2009 at 7:01pm
hello everyone
i want change my ribbon style . and i am using this code
( i am using vb6 )

CommandBarsGlobalSettings.Office2007Images = App.Path & "\Styles\Office2007Blue.dll"
            CommandBar.PaintManager.RefreshMetrics
            CommandBar.RecalcLayout


and i am sure the Office2007Blue.dll is already in Styles folder.

but my style dont change . and just staying on blue style
how do i do for change the style

thank u .



Replies:
Posted By: SuperMario
Date Posted: 20 December 2009 at 9:22pm
Originally posted by microchip microchip wrote:


and i am sure the Office2007Blue.dll is already in Styles folder.

but my style dont change . and just staying on blue style
how do i do for change the style

thank u .
 
That is because you are loading the blue style, which the ribbon already is by default.


Posted By: microchip
Date Posted: 21 December 2009 at 8:41am
i am testing with the Black Style
but it's not change . i am testing with all style . Aqua . Black . Silver . all of

( not change )

then how i can change it ?
i don't remember how i can loading the blue style !

thank you for you'r answer

-------------
Hosna Programing Group
Platform : Visual Basic,.Net
Operation : WinXP , 7 , (32,64 Bit)


Posted By: microchip
Date Posted: 24 December 2009 at 3:23pm
anybody know's about my problem ?
i tested this code in other pc and it's working good

but in my system doesn't work and i have no error in this code . just the style doesn't change.


-------------
Hosna Programing Group
Platform : Visual Basic,.Net
Operation : WinXP , 7 , (32,64 Bit)



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