New topic: 

How to access encrypted DB via RB ?

<http://forums.realsoftware.com/viewtopic.php?t=29245>

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       dakannan           Post subject: How to access encrypted DB via 
RB ?Posted: Mon Jul 27, 2009 5:02 am                               
Joined: Mon Jun 15, 2009 8:58 am
Posts: 27
Location: Chennai              Hi Folks,

I have encrypted a SQLite database with password. When i try to access the 
database from the application, it throws an exception "File is encrypted or 
protected", though the connection is established through password.

Can u please confirm, if the password can be provided only for the 
RealSQLServer or the SQLite database encrypted with the password can also be 
accessed from the application.

If yes, how can it be done. I've tried the following but it doesn't seem to 
work:
Code:TestDB = New REALSQLDatabase
TestDB.databaseFile = GetFolderItem("C:\Test.sqlite")
TestDB.Password = "12345678"

If TestDB.databaseFile.exists = True then
  // The database file already exists, so we want to connect to it.
  TestDB.Connect()
End If


Any hints please.     
_________________
•·.·´¯`·.·• KannaN •·.·´¯`·.·•  
                            Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]     
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to