![]() |
Theme not saved under Vista |
Post Reply ![]() |
Author | |
kickerskopp ![]() Newbie ![]() ![]() Joined: 04 January 2008 Location: Germany Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() 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
What have I done wrong ?
Best Regards
Peter
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
kickerskopp ![]() Newbie ![]() ![]() Joined: 04 January 2008 Location: Germany Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
|
kickerskopp ![]() Newbie ![]() ![]() Joined: 04 January 2008 Location: Germany Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |