Use this class to compact & repair Access MDBs. Just assign the single property a fully qualified path to an .MDB file and it will be compacted.
Note:
1. You must reference DAO 3.6 and Microsoft Scripting Runtime
2. You cannot put this into an Access Database and compact the MDB where this class lives. It must be from an external application.