BFirfer
Junior Member

Posts: 42
Registered: 2006-1-20
Member Is Offline
|
posted on 2006-2-15 at 12:28 PM |
|
|
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?
|
|
|
jbell
Moderator
    
Posts: 8
Registered: 2006-1-25
Member Is Offline
|
posted on 2006-2-15 at 03:55 PM |
|
|
Try using the _x_removeBag() function.
boolean _x_removeBag(string bagName)
=
|
|
|
jbell
Moderator
    
Posts: 8
Registered: 2006-1-25
Member Is Offline
|
posted on 2006-2-16 at 01:32 PM |
|
|
| 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?
|
|
|
BFirfer
Junior Member

Posts: 42
Registered: 2006-1-20
Member Is Offline
|
posted on 2006-2-16 at 02:01 PM |
|
|
I just want to clear them out by hand, so that I can test features the require them not being present, through the emulator.
|
|
|
ryana
Moderator
    
Posts: 54
Registered: 2006-1-18
Member Is Offline
|
posted on 2006-2-16 at 06:20 PM |
|
|
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).
|
|
|
daemon
Newbie
Posts: 1
Registered: 2009-11-16
Member Is Offline
|
posted on 2009-11-16 at 05:23 AM |
|
|
Thanks for the info jbell. I had the same issue and the code worked.
Regards,
Daemon
Ordinateur portable pas cher
|
|
|