I keep getting this error when I try and use a MS Access database in my application:
The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
After Google'ing the error for a while I came to see that this is a problem when running the application in 64-bit mode. If I was to compile the app in 32-bit it would work, so I went to try and find out how to do it. I got as far as the advanced compiling options in my projects settings page, but then I also read that I can't even set the CPU type in Visual Basic 2008 Express.
is this true? Is there no way I can set my project to run in 32-bit mode? The thing is, I did a similar thing with a database a few months ago and this worked, and I don't remember in the slightest what I did.
Can anyone shed some light? Thanks.
EDIT: After taking a look at my old projects compiling options, it is indeed set for Active (x86) Platform
, but this option is not showing up in my new project. Weird.
EDIT 2: Here's a screenshot. Top one is the old project with the 32-bit running option and the bottom is the new one without those options.