peace be with you
i try to compact db by ado + Microsoft Jet and Replication Objects
and this is the code :
after run this an runtime error found say :Code:db_rep.CompactDatabase "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\WINDOWS\SYSTEM\gcdb.mdb;Jet OLEDB:Database Password=", "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\WINDOWS\SYSTEM\gcdb.mdb;Jet OLEDB:Engine Type=5;Jet OLEDB:Database Password="
attached
note : no password for secirty
thanks




Reply With Quote