I am asking if it is possible to encrypt an entire .dbf file (without memo) by setting the flag in the dbf header?
And then?
What do i have to do to read and write the fields in the .dbf ?
Thanks
Lorenzo
I am asking if it is possible to encrypt an entire .dbf file (without memo) by setting the flag in the dbf header?
And then?
What do i have to do to read and write the fields in the .dbf ?
Thanks
Lorenzo
lorenzoazz wrote:I am asking if it is possible to encrypt an entire .dbf file (without memo) by setting the flag in the dbf header?
DBINFO( DBI_PASSWORD, cPsw )lorenzoazz wrote:And then?
What do i have to do to read and write the fields in the .dbf ?
Ok, but i just want to use the dbf with an old VB6 program that uses a JET connection like this
"Provider=Microsoft.Jet.OLEDB.4.0;Extended Properties=dBase IV;Data Source="
I suppose that i must change the encrypted flag in dbf file header in some way (do not know how), and then open with a password that i set in my vb6 script when opening .
Thanks ( Grazie)
Don't know, sorry.
EMG
I tried the suggestion but i cannot find DBI_PASSWORD definition.
Anyway my intent is to make the dbf unreadable by normal dbf tools, to protect privacy outside from the specific software that created and use the dbf.
Lorenzo
lorenzoazz wrote:I tried the suggestion but i cannot find DBI_PASSWORD definition.
#include "Dbinfo.ch"lorenzoazz wrote:Anyway my intent is to make the dbf unreadable by normal dbf tools, to protect privacy outside from the specific software that created and use the dbf.
Cannot find definition for DBI_PASSWORD
here are all DBI_ the constant i found for dbinfo()
/ constants for dbInfo() /
/ HARBOUR extension /
/ BLOB support - definitions for internal use by BLOB.CH /
/ CA-CLIPPER documented for public use /
#define DBI_PASSWORD 131 /* Workarea password */Thanks Enrico
Lorenzo