Hi,
I am reading information from a Microsoft Access database using the oledb dataprovider.
Sometimes there is a error "Attempted to read or write protected memory." and my application is ended.
Using Visual studio 2010, installed office 2010 drivers, under windows7 64bit.
problem is there under framework 4 and 4.5.
Application is set to run in 32bit mode.
Is this a bug????
Dim Dbf = DbProviderFactories.GetFactory("System.Data.OleDb") Dim Con = Dbf.CreateConnection Con.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & File Con.Open() '====>>>sometimes access violation error