I want to compact database (with DBEngine.CompactDatabase method), which was previously associated with Data Control. When I do that, I get error: 3049 - "Can't open 'file.mdb'. It may not be a database that your application recognise, or file may be corrupt." I'm using VB6 Professional and DAO 3.51. What is wrong? Patryk