Wrap Microsoft Access DLL and access its methods?

Does anyone know if there's I way that I can programatically compress a Microsoft Access database?

During use, Access databases grow in size, even when data has been deleted from tables, so you need to do a 'Compress'. This is fine from the Access GUI, but I need to do it from my Java app.

I imagine there's a MS DLL which talks to Access which I could wrap, but how do I access it's methods?

Regards

wegie

[450 byte] By [wegie] at [2007-9-26 12:28:18]
# 1
I believe that is possible via OLE.For more on OLE and the specific OLE interface for Access you should look to the Microsoft Developer Network online site of the library CD.
jschell at 2007-7-2 3:11:13 > top of Java-index,Java HotSpot Virtual Machine,Specifications...