Hi
I am trying to open an access 2000 database using the ACE 12.0 object reference. But I keep getting an "accessviolationexception" that says cannot access read or write protected memory. I need to use the ACE 12.0 in order to execute the application on a windows 7 machine. Any thoughts as to why I get this exception. Below is the code.
Dim obj As Microsoft.Office.Interop.Access.Application
obj = New Microsoft.Office.Interop.Access.Application
obj.OpenCurrentDatabase("F:\Projects\db3.mdb")
Thanks all for your time and help.
I am trying to open an access 2000 database using the ACE 12.0 object reference. But I keep getting an "accessviolationexception" that says cannot access read or write protected memory. I need to use the ACE 12.0 in order to execute the application on a windows 7 machine. Any thoughts as to why I get this exception. Below is the code.
Dim obj As Microsoft.Office.Interop.Access.Application
obj = New Microsoft.Office.Interop.Access.Application
obj.OpenCurrentDatabase("F:\Projects\db3.mdb")
Thanks all for your time and help.