Repair an Access database from .NET

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,
With use of Microsoft Jet and Replication Objects 2.x Library, I can compact
an Access database. But is there any way to Repair an Access database from
VB.NET?
Thanks in advance.
Roy
 
¤ I just need to make sure repairing is also done along with the compacting.
¤

Yes, JRO does both.


Paul
~~~~
Microsoft MVP (Visual Basic)
 
Paul,
When you add JRO to the project, will that necessitate registering the
component at install time? I am trying to keep with XCOPY deploy and
wonder if JRO is compatible with that? Hope that question makes sense.

TIA.
John
 
¤ Paul,
¤ When you add JRO to the project, will that necessitate registering the
¤ component at install time? I am trying to keep with XCOPY deploy and
¤ wonder if JRO is compatible with that? Hope that question makes sense.
¤

Well MDAC should be installed (a .NET framework requirement for version 1.0 and 1.1) so that will
take care of the JRO COM registration. The only other file you should need is the interop assembly
(Interop.JRO.dll) that is created when you add JRO to your project. Just XCOPY that file to the bin
folder with your other assemblies.


Paul
~~~~
Microsoft MVP (Visual Basic)
 
Back
Top