RMS81

Hi,

Is there anyway to use the database utilities provided by Access, like "Compact and Repair" using VB

Tks



Re: Visual Studio Tools for Office Interact with MS Access using VB

Daniel Molina - MSFT

Hi RMS81,

Access is not a platform currently supported by VSTO. I would suggest asking the question in the one of the access discussion lists here:

http://msdn.microsoft.com/newsgroups/topic.aspx url=/msdn-files/028/201/016/topic.xml

Now, a quick search in MSDN reveals that Access provides the Application.CompactRepair method that might fit your needs, just recall that you cannot repair a database that is currently open.

http://msdn2.microsoft.com/en-us/library/aa221162(office.11).aspx






Re: Visual Studio Tools for Office Interact with MS Access using VB

RMS81

Ok.

Thanks for your help.