Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2005
    Posts
    1

    Angry Unanswered: Problem with .ldb file

    Hi,

    Well i've a problem with a c# code for create a .mdb file.

    this code create the database but the problem is the .ldb file.

    I want to remove this .ldb file just after create the database.

    ADOX.CatalogClass cat = new ADOX.CatalogClass();
    cat.Create("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=database.mdb;Jet OLEDB:Engine Type=5");
    cat=null;

    What can i do ?



    Thank for help

  2. #2
    Join Date
    Jul 2004
    Location
    South Dakota
    Posts
    267
    Why do you want to remove the .ldb file? This file contains a list of users logged into the database. Once the database is closed, the .ldb file will be automatically removed (if all went well in the DB).

    C

Posting Permissions

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