Hi,
Here''s my code:
For saving:
AppStateSerializer* aser = new AppStateSerializer(SerializeMode::IsolatedStorage, S"MenuStateInfo", System::IO::IsolatedStorage::IsolatedStorageScope::Domain);
mainFrameBarManager->SaveBarState(aser);
aser->PersistNow();
For loading:
AppStateSerializer* aser = new AppStateSerializer(SerializeMode::IsolatedStorage, S"MenuStateInfo", System::IO::IsolatedStorage::IsolatedStorageScope::Domain);
mainFrameBarManager->LoadBarState(aser);
After the save, the folder "IsolatedStorage" doesn''t exist...
What I''m doing wrong ?
Best regards,
Martin
AD
Administrator
Syncfusion Team
March 1, 2005 04:41 PM
Hi Martin
Check out the http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemioisolatedstorage.asp
This will describe how the IsolatedStorage works.
Regards,
Thomas
>Hi,
>
>Here''s my code:
>
>For saving:
>AppStateSerializer* aser = new AppStateSerializer(SerializeMode::IsolatedStorage, S"MenuStateInfo", System::IO::IsolatedStorage::IsolatedStorageScope::Domain);
> mainFrameBarManager->SaveBarState(aser);
> aser->PersistNow();
>
>For loading:
>AppStateSerializer* aser = new AppStateSerializer(SerializeMode::IsolatedStorage, S"MenuStateInfo", System::IO::IsolatedStorage::IsolatedStorageScope::Domain);
> mainFrameBarManager->LoadBarState(aser);
>
>
>After the save, the folder "IsolatedStorage" doesn''t exist...
>
>What I''m doing wrong ?
>
>Best regards,
>Martin
AD
Administrator
Syncfusion Team
March 1, 2005 05:42 PM
Hi Martin,
If you''re interested specifically in where Isolated Storage is located on your computer, you can take a look at this
MSDN Library entry.
Regards,
Gregory Austin
Syncfusion Inc.
MB
Martin Bonneville
March 2, 2005 08:08 AM
Hi Gregory,
My saving don''t work with IsolatedStorage, I want to know if I''m missing something?
Best regards,
Martin
AD
Administrator
Syncfusion Team
March 2, 2005 10:42 AM
Hi Martin,
Please look at my post on your other Forum thread and let me know if that helps.
Regards,
Gregory Austin
Syncfusion Inc.
MB
Martin Bonneville
March 2, 2005 01:25 PM
Hi Gregory,
The same code work if I save in XML file.
But if I try to save in IsolatedStorage... don''t work.
I think I miss something.
Best regards,
Martin
AD
Administrator
Syncfusion Team
March 2, 2005 02:11 PM
Hi Martin,
I haven''t experienced this problem. If you take a look at the sample that Guru posted in the other thread, and modify it to use IsolatedStorage, it should work.
Regards,
Gregory Austin
Syncfusion Inc.
AD
Administrator
Syncfusion Team
March 2, 2005 03:53 PM
Hi Martin,
I see that you post C++ syntax. Are you working with an managed c++ application or in mixed mode(mfc/managed)?
Regards,
Thomas
>Hi Martin,
>
> I haven''t experienced this problem. If you take a look at the sample that Guru posted in the other thread, and modify it to use IsolatedStorage, it should work.
>
>Regards,
>Gregory Austin
>Syncfusion Inc.
MB
Martin Bonneville
March 2, 2005 05:20 PM
Hi,
I use the code that Guru give to me... look at my code... it''s the same but I use IsolatedStorage.
Thomas, yes I use managed C++ (only).
Best regards,
Martin
AD
Administrator
Syncfusion Team
March 4, 2005 04:16 AM
Hi Martin,
I''ll get back this weekend, I have to double check this in our environment.
Regards,
Thomas
>Hi,
>
>I use the code that Guru give to me... look at my code... it''s the same but I use IsolatedStorage.
>
>Thomas, yes I use managed C++ (only).
>
>Best regards,
>Martin
MB
Martin Bonneville
March 8, 2005 02:30 PM
Hi Gregory,
You find an error n my code ?
I found nothing wrong.
Best regards,
Martin
AD
Administrator
Syncfusion Team
March 10, 2005 10:00 AM
Hi Martin,
I am unable to provide an explanation as to why Isolated Storage is not working for you. I would recommend trying to use one of the other storage types and seeing if that works.
Regards,
Gregory Austin
Syncfusion Inc.