Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Compacting MS Access database from C# code?

Compacting MS Access database from C# code?

Scheduled Pinned Locked Moved C#
csharpdatabasequestion
2 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    xkx32
    wrote on last edited by
    #1

    Hi! Does anyone have an idea how it's possible to compact and repair an MS Access database using C#? The option is avaiable in MS Access main menu but I don't want to do it manually. Thanks in advance.

    E 1 Reply Last reply
    0
    • X xkx32

      Hi! Does anyone have an idea how it's possible to compact and repair an MS Access database using C#? The option is avaiable in MS Access main menu but I don't want to do it manually. Thanks in advance.

      E Offline
      E Offline
      Eran Aharonovich
      wrote on last edited by
      #2

      Try the COM object Access.Application. You should be able to do it this way. Eran Aharonovich (eran.aharonovich@gmail.com ) Noviway

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups