I am using ADO to create an encrypted database, this is the code I use
If I use Engine Type 4 it throws an invalid arguement error up.Code:Dim cat As New ADOX.Catalog cat.Create ("Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\new.mdb;" & _ "Jet OLEDB:Encrypt Database=True;" & _ "Jet OLEDB:Engine Type=5;")
I can only create an Access 2 version or Access 2000.
Does anybody know why I can't create an Access 97 version.
Does anybody know the best way to create a database through code so that anyold person can't look at the contents, I'm not sure if this is the best method.
Thanks




Gary Lowe 

Reply With Quote