I added Microsoft Jet and Replication Objects 2.6 Library
to refrences
I also added this line to my code:
Dim jr As New JetEngine
This code is written in ChangeAndIndex() procedure. We compiled my code with x86 platform,but when i run it, my application encountered an error on ChangeAndIndex() Calling, (Please see the image) Please guide me where the problem is My application encountered an error, we compiled my code with x86 platform:
Please guide me where the problem is.
Error:
System.BadImageFormatException
HResult=0x8013101B
Message=Could not load file or assembly 'Interop.JRO, Version=2.6.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Source=<Cannot evaluate the exception source>
StackTrace: <Cannot evaluate the exception stack trace>
User contributions licensed under CC BY-SA 3.0