# Re: 各方高手,我都想知怎样用加密了的资料库?

Posted by Fai on August 24, 1999 at 17:15:53:

In Reply to: Re: 怎样加密 资料库? posted by 阿雄 on August 24, 1999 at 16:31:47:

请问应该买王xx的那一本书?
若阁下用的是Access,(应该首先用Office碟装上
Advanced Wizard for Access)<--不太肯定是否装了这个
才可以用Security,可能不用装也可以
Open开启你的Database,要在Dialog Box 中Click Exclusive Check Box,
再在Tool Menu->Security->Set DataBase Password
去Set Password.

但当要用这DataBase时,本人用这Connection Command:
ConnStr = "Provider=MSDASQL.1;" & _
"DRIVER=Microsoft Access Driver (*.mdb);" & _
"UID=Admin;" & _
"UserCommitSync = Yes;" & _
"Threads = 3;" & _
"SafeTransactions = 0;" & _
"PageTimeout = 5;" & _
"MaxScanRows = 8;" & _
"MaxBufferSize = 512;" & _
"ImplicitCommitSync = Yes;" & _
"FIL=MS Access;" & _
"DriverId = 25;" & _
"DefaultDir=D:\mdb;" & _
"DBQ=D:\ESU.mdb;"
却出现Error:
[Microsoft][ODBC Microsoft Access 97 Driver]
General error unable to open registry key
'SOFTWARE\ODBC\ODBC.INI\(Null)'

Follow Ups: