RE: Deleting Databases *Safely* ?

2001-06-21 Thread Richard Burmeister
From: Robert Purcell Currently, if I delete a database, from the Palm OS Gui (like you would delete an application), my program creates an illegal exception when I start it again. My program searches thru all the available databases when it starts (AppStart), so I am certain that I don't

RE: Deleting Databases *Safely* ?

2001-06-21 Thread Brian Mathis
On Thu, 21 Jun 2001, Richard Burmeister wrote: There is definitely something wrong with your code in AppStart if your app crashes after a database has been deleted by the Launcher. Also, in most cases, the creator id of the database should be the same as the creator id of the application so

RE: Deleting Databases *Safely* ?

2001-06-21 Thread Robert Purcell
Ah, yeah, good point.. you shouldn't see any of your databases other than the application in the Launcher Delete screen. If you do, your database doesn't have the same creatorID of your app; the 2 should be the same. -- Brian Mathis Direct Edge As I recall, all of the databases have the

RE: Deleting Databases *Safely* ?

2001-06-21 Thread DeAnna Davidson
-Original Message- From: Robert Purcell [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 21, 2001 2:33 PM To: Palm Developer Forum Subject: RE: Deleting Databases *Safely* ? Ah, yeah, good point.. you shouldn't see any of your databases other than the application in the Launcher Delete

RE: Deleting Databases *Safely* ?

2001-06-21 Thread Robert Purcell
Robert, If you want the user to be able to delete databases they don't want and you want the app and databases to have the same creator id (which they rightly should), you'll have to create that functionality inside your application. If the user does a delete from the launcher and the app

Re: Deleting Databases *Safely* ?

2001-06-21 Thread Ng Wei Gee
Hi, Because I checked, and all databases and the App have the SAME creator ID, yet I can see each database listed in the launcher delete list! One more possibility is that the casing are not the same? Creator IDs are case sensitive... :) Regards, Gee. -- For information on using the Palm

RE: Deleting Databases *Safely* ?

2001-06-21 Thread Brian Mathis
On Thu, 21 Jun 2001, Robert Purcell wrote: Each of my databases are created external to the application that reads them. I install each *.pdb file via a hotsync. Are you sure that I shouldn't see the databases from the delete list in the launcher? Because I checked, and all databases and