Results 1 to 5 of 5

Thread: compact db via ado+jor ??

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member xray's Avatar
    Join Date
    Jun 2003
    Location
    EgYpT
    Posts
    312

    compact db via ado+jor ??

    peace be with you

    i try to compact db by ado + Microsoft Jet and Replication Objects

    and this is the code :

    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="
    after run this an runtime error found say :
    attached

    note : no password for secirty

    thanks
    Attached Images Attached Images  

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width