Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compress MS Access DB in c++

Status
Not open for further replies.

sollentuna

Programmer
Jul 9, 2001
1
SE
Hello,
we have in a project the need to minimize the database because of hardware resources.

We build the database and add posts in Borland C++ Builder with sql questions. The system does not have MS Access installed in order to minimize licence cost for the product.
We are running on WinNT.

However when archiving parts of the database, the original database remains as large as before, which slows our system down.

Is there a way of compressing the original database in c++ without having MS Access installed? I have heard that this is possible in VB. I have also tried MDBTask
but that requires MS Access.

Thanks!
 
The program JetComp available from the microsoft download center will compress and repair a MDB file. Whether or not it has any API that you can use to manipulate it programmatically I do not know. You may want to check it out!

HTH Joe Miller
joe.miller@flotech.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top