In article <10313@palm-dev-forum>, Kirk Dybvik wrote:
>
>I want to prevent a user from being able to delete a database from the
>device. I have been trying to hide the database, with no luck.
>DmSetDatabaseInfo does not raise an error, but the database still shows up
>in the Launcher's list of items that can be deleted. Any comments or
>suggestions would be appreciated.
The hidden attribute is used to hide applications (or PQAs on the VII)
from the main view of the launcher. There is no way to prevent a
database from being deleted. If you give your database the same creator
ID as your application (which is what you should be doing anyway), then
the app and DB will be grouped together on the delete screen, so the
user can't delete the DB without deleting the app (although this can be
bypassed with a program like ZCatalog).
HTH,
-Ben
--
Ben Darnell [EMAIL PROTECTED]
http://thoughtstream.org
Finger [EMAIL PROTECTED] for PGP/GPG key 1024D/1F06E509
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/