Is there a way to know if a REALSQLDatabase has been encrypted or not? 
I used the two examples in the Language Reference:

Dim db as New REALSQLDatabase
db.DatabaseFile = GetFolderItem("db.rsd")
db.Password = "howdy doody"
If Not db.CreateDatabaseFile then
  //handle error here
End if


Dim db as New REALSQLDatabase
db.DatabaseFile = GetFolderItem("db.rsd")
db.Password = "howdy doody"
if Not db.Connect then
  //handle error here
End if


Then, I commented out the line:

db.Password = "howdy doody"

In the second example, expecting the db.Connect to fail, and it doesn't. 
  The database gets opened and there is no error.

So, my question is, why?  If the database in the first block was created 
with a password, and that password isn't presented when the db is 
connected to later, how is that helpful?  I must be misunderstanding the 
use here..

Any pointers?

Thanks,

Ryan Dary
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to