Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Theme not saved under Vista
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Theme not saved under Vista

 Post Reply Post Reply
Author
Message
kickerskopp View Drop Down
Newbie
Newbie
Avatar

Joined: 04 January 2008
Location: Germany
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote kickerskopp Quote  Post ReplyReply Direct Link To This Post Topic: Theme not saved under Vista
    Posted: 16 January 2008 at 9:12am
Me again...
 
If I run my app the theme selected by the user is not restored when the application is restarted. Again I do the usual LoadCommandBars , SaveCommandBars commands. However the theme on startup is always the blue ( CommandBarsGlobalSettings.Office2007Images is empty ) one although when I change it with the app running it correctly switches to black , silver a.s.o.
 
Some further things
  • I use Vista
  • It works when running inside VB ( as Adminstrator )
  • It does not work in the RibbonSample either ( except when running inside VB )
  • It does not work when running the app(s) as administrator
What have I done wrong ?
 
Best Regards
 
Peter
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 16 January 2008 at 9:53am
Hello,
Why it have to restore automatically? You change it in code manually so you have save and restore it manually.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
kickerskopp View Drop Down
Newbie
Newbie
Avatar

Joined: 04 January 2008
Location: Germany
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote kickerskopp Quote  Post ReplyReply Direct Link To This Post Posted: 16 January 2008 at 11:33am
Thanks for the answer...
 
Hmm ! Why is it storing when I run it under VB6 Debugger ?
Why are other settings like f.e. Key Mapping a.s.o stored and the Theme not ? These are also 'manually' changed !
 
Peter
Back to Top
kickerskopp View Drop Down
Newbie
Newbie
Avatar

Joined: 04 January 2008
Location: Germany
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote kickerskopp Quote  Post ReplyReply Direct Link To This Post Posted: 16 January 2008 at 11:36am
OK !
Just found out that it is not stored if I leave VB and restart it...
I guess the OCX is still in Memory as long as VB is not closed...
 
Peter
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 17 January 2008 at 2:31am

Hi,

if we provide way to change some option by user - in Customize dialog / using Mouse/Keyboard  we save this option in our code.
If you manually change some option in your code - you have save and restore it.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.125 seconds.