Example 2 seems to work, except after .throwaway I get a
NilObjectError in the ShowStatistic method:
if( mDatabase.IsOpen ) then -> NilObjectError
stDbName.Text = mDatabase.Name
stIsOpen.Text = "db is opened"
...
You have to check for nil here, of course.
The good news is that the database files were deleted.
Jon