Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Problem with change style
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem with change style

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


Joined: 20 December 2009
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote microchip Quote  Post ReplyReply Direct Link To This Post Topic: Problem with change style
    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 .
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: 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.
Back to Top
microchip View Drop Down
Newbie
Newbie


Joined: 20 December 2009
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote microchip Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
microchip View Drop Down
Newbie
Newbie


Joined: 20 December 2009
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote microchip Quote  Post ReplyReply Direct Link To This Post 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)
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.203 seconds.