Print Page | Close Window

Theme not saved under Vista

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=9324
Printed Date: 08 October 2024 at 10:46am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Theme not saved under Vista
Posted By: kickerskopp
Subject: Theme not saved under Vista
Date 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



Replies:
Posted By: Oleg
Date 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


Posted By: kickerskopp
Date 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


Posted By: kickerskopp
Date 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


Posted By: Oleg
Date 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



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