Compress the database simultaneously set the password

zhaozj2021-02-16  94

Quote Microsoft Jet and Rel ........., DLL named msjro.dll

...

Then use jro;

JetEngine X = New JetEngine ();

X.CompactDatabase ("provider = microsoft.jet.OLEDB.4.0; Data Source = E: //db.mdb; jet oledb: Database password = 123", "provider = microsoft.jet.Oledb.4.0; data source = e : //db.mdb; Jet OLEDB: Database Password = 456 ");

转载请注明原文地址:https://www.9cbs.com/read-11195.html

New Post(0)