![]() |
State Saving into wrong folder |
Post Reply
|
| Author | ||
danpetitt
Senior Member
Joined: 17 July 2005 Location: United Kingdom Status: Offline Points: 109 |
Post Options
Thanks(0)
Quote Reply
Topic: State Saving into wrong folderPosted: 23 July 2006 at 2:54am |
|
|
The LoadCommandBars and SaveCommandBars functions appear to save into the folder:
C:\Documents and Settings\USERNAME\Application Data\APPNAME
This is not what I want and a bit different to every other application. It ought to save into a sub-folder (normally the company name). This is what its like in the Software section of registry as its what you use "SetRegistryKey" for.
So we could (and should) use this value in the command bar load/save thus:
Change "CXTPCommandBars::GetIsolatedFileName"...
To...
Any chance this can be fixed/improved??
|
||
![]() |
||
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 July 2006 at 10:40am |
|
|
Hello,
See SetCustomizationDataFileName method.
|
||
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
![]() |
||
danpetitt
Senior Member
Joined: 17 July 2005 Location: United Kingdom Status: Offline Points: 109 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 July 2006 at 3:18pm |
|
|
Thanks, but there is still a lot of stuff saved in the registry.
If I add an icon to the toolbar (I think also if i customise the shortcuts), that info appears to be saved in the registry.
There are also loads of reg items starting: "CommandBars" like "CommandBars-Bar0", "CommandBars-Options" etc.
|
||
![]() |
||
danpetitt
Senior Member
Joined: 17 July 2005 Location: United Kingdom Status: Offline Points: 109 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 July 2006 at 3:41pm |
|
|
It might be easier if we continue/merge this topic into this one:
|
||
![]() |
||
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 |