UIEvolution Developer Forum Last active: Never
Not logged in [Login - Register]
Go To Bottom

Printable Version | Subscribe | Add to Favourites   Post new thread Poll:
Author: Subject: Clearing Property Bags
BFirfer
Junior Member
**




Posts: 42
Registered: 2006-1-20
Member Is Offline


[*] posted on 2006-2-15 at 12:28 PM Reply With Quote
Clearing Property Bags



Is there an easy way to clear out all property bag data for the SDK, without having to write an application that knows all of the bags names and just clear them out one at a time?
View User's Profile View All Posts By User U2U Member
jbell
Moderator
******


Avatar


Posts: 8
Registered: 2006-1-25
Member Is Offline


[*] posted on 2006-2-15 at 03:55 PM Reply With Quote


Try using the _x_removeBag() function.

boolean _x_removeBag(string bagName)










=
View User's Profile Visit User's Homepage View All Posts By User U2U Member
jbell
Moderator
******


Avatar


Posts: 8
Registered: 2006-1-25
Member Is Offline


[*] posted on 2006-2-16 at 01:32 PM Reply With Quote


Quote:
Originally posted by jbell
Try using the _x_removeBag() function.

boolean _x_removeBag(string bagName)


Ah... I looked at this again and realized you want to do this without knowing the bag names. So my suggestion didn't help you.

Do you want to just delete the property bag files (by hand) or do you want a way to do it programatically?
View User's Profile Visit User's Homepage View All Posts By User U2U Member
BFirfer
Junior Member
**




Posts: 42
Registered: 2006-1-20
Member Is Offline


[*] posted on 2006-2-16 at 02:01 PM Reply With Quote


I just want to clear them out by hand, so that I can test features the require them not being present, through the emulator.
View User's Profile View All Posts By User U2U Member
ryana
Moderator
******




Posts: 54
Registered: 2006-1-18
Member Is Offline


[*] posted on 2006-2-16 at 06:20 PM Reply With Quote


If you're using the SDK, property bags get stored to the dpref folder (so, \Program Files\UIEvolution SDK\dpref).

The property bags have a ".bag" extension, so they are easy to find and remove.

Although having some sort of property bag watcher/manager would be a great IDE improvement (Pete).
View User's Profile View All Posts By User U2U Member
daemon
Newbie
*




Posts: 1
Registered: 2009-11-16
Member Is Offline


[*] posted on 2009-11-16 at 05:23 AM Reply With Quote


Thanks for the info jbell. I had the same issue and the code worked.


Regards,
Daemon
Ordinateur portable pas cher
View User's Profile View All Posts By User U2U Member
Post new thread Poll:


Go To Top


Powered by XMB
Developed By Aventure Media & The XMB Group © 2002-2005


[queries: 15]