Example 007 - Encryption

Gunnar Swan gunnarswan at PracticeToPass.com
Tue May 11 23:05:03 CDT 2004


Hello Again.

Different issue. 

>From your example ....

--Start Code Snippet
on OpenDB
  global gDB
  set gDB = new(xtra"VDataBase")
  -- BEFORE we open database we need tell to database object the encryption key.
  --SetEncryption( gDB, "abrakadabra2" )
  openDatabase(gDB, the moviePath & "test.vdb", 4)
  
end CreateDB 
-- End Code snippet.

Here, we don't SetEncryption. It's remarked out. 
Stop the code after openDatabase.

then .. put ValentinaError()

ValentinaError() reports 0 ... no error. But in fact, how can encrypted database open ( and not generate error), when no key supplied ?


Best Regards,
Gunnar Swan
Practice To Pass
1.888.307.2050
http://www.PracticeToPass.Com





More information about the Valentina mailing list