Is there a way to repair and compact an MS access 97 database via VB code?

Thanks,
Thai