在access加密后在VB6中怎么打开?
db.Open "PROVIDER=Microsoft.Jet.OLEDB.3.51;Data Source=" & wjy
以上在VB6中打开没问题,加了解密后打不开
db.Open "PROVIDER=Microsoft.Jet.OLEDB.3.51;data password=1988;Data Source=" & wjy
不知道哪里的错误,请指教!!!
[解决办法]
con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\wjy
.mdb;Jet OLEDB:Database Password=1988;Persist Security Info=False;"
[解决办法]
Conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & 数据库路径 & ";Persist Security Info=False" + ";Jet OLEDB:Database Password=数据库密码"
[解决办法]
"Provider=Microsoft.Jet.OLEDB.4.0;Jet OLEDB:Database Password=1988;Data Source=" & App.path & "\wjy.mdb" & ";Persist Security Info=False;"
[解决办法]
Set conn = New ADODB.Connection
sConn = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=" & "数据库路径" & _
";Jet OLEDB:Database Password =" & 数据库密码 & ";"
conn.Open sConn