-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
An alternate solution would be to rev the preferences version and to
check the version of the stored preferences if any. That way your
start code would be:
- Load existing preferences
- if either (no preferences found) or (old version preferences found)
- Store new version default preferences or convert the old
preferences to the new form
- Continue with start up.
This way as your application evolves it will adapt older version
preferences over.
Cheers,
Bruce.
At 14:17 +0000 4/23/00, Richard Burmeister wrote:
>From: "pete moss" <[EMAIL PROTECTED]>
>> is there a way to delete the old prefs off the machine if you install a
>> new version of the app. i am talking about the saved preferences. is
>
>Are you talking about your own app deleting its saved preferences from a
>previous version? If so, your app can use PrefGetAppPreferences to check if
>they exist and PrefSetAppPreferences to set the new prefs.
>
>If you want to delete prefs left there by someone else's app, use the free
>PrefEd by Bodo Bellut. It comes with source code if you are interested in
>seeing how he does it.
>
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe, please
>see http://www.palm.com/devzone/mailinglists.html
- --
- ------------------------------------------------------------------------------
Bruce Thompson | "Pinkie! Are you pondering what I'm pondering?"
Software Engineer | "I think so Brain, but if they called them Sad
Partner Engineering | Meals kids wouldn't buy them!"
Palm, Inc.
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.2 for non-commercial use <http://www.pgp.com>
iQA/AwUBOQRVXFg7m8VHhEumEQI1HACgqdj6Ytw58aPBgghElLrTlmwE23gAn3pE
qdvJncgbOIdUnSzu/fy8T41f
=mPD5
-----END PGP SIGNATURE-----
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html