J
John K
ok,
I'm lost at how to try this.... any pointers on
how to set the password of an access DB within C#?
this is what I tried:
string strDestDB2 = "NewMdb.mdb";
string strSourceConnect2 = "Data Source=" + strDestDB;
string strDestConnect2 = "Data Source=" + strDestDB2
+ ";Jet OLEDBassword="+SAPassword;
jetEngine.CompactDatabase(strSourceConnect2,
strDestConnect2);
John
I'm lost at how to try this.... any pointers on
how to set the password of an access DB within C#?
this is what I tried:
string strDestDB2 = "NewMdb.mdb";
string strSourceConnect2 = "Data Source=" + strDestDB;
string strDestConnect2 = "Data Source=" + strDestDB2
+ ";Jet OLEDBassword="+SAPassword;
jetEngine.CompactDatabase(strSourceConnect2,
strDestConnect2);
John