Gary.Lowe
Oct 12th, 2000, 09:02 AM
I am using ADO to create an encrypted database, this is the code I use
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;")
If I use Engine Type 4 it throws an invalid arguement error up.
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
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;")
If I use Engine Type 4 it throws an invalid arguement error up.
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