Decrypt problem

Bart Pietercil bart.pietercil at gmail.com
Mon Feb 26 10:55:32 CST 2007


OK I figured that one out

don't forget to indicate in the UseEncryptionkey 
("somekey",EVDataKind.kStructureAndRecords)

Thnks

Bart Pietercil

On 26-feb-07, at 17:11, Bart Pietercil wrote:

> Hi List,
>
> I generate a db with this command
>
> ThisDB.Encrypt("somekey",EVDataKind.kStructureAndRecords)
>
> I can connect to this db using VStudio (ask for the passwords and  
> accepts the pw)
>
> However using this code;
>
>       CoReConnectionDB = new VDatabase
>       CoReConnectionDB.UseEncryptionKey("somekey")
>       CoReConnectionDB.Open(myFile)
>
> raises a Vexception
>
> How do I log into my db that is encrypted. Obviously I am missing  
> something.
>
> What I want to do is open the db, read two records in two tables  
> and close the db.
>
> TIA
>
> Bart Pietercil



More information about the Valentina mailing list