EDN Admin
Well-known member
Hey everyone,
I have searched long and hard for this, so any help or suggestions would be greatly appreciated.
I am using Visual Basic Express 2008 64bit on a Windows 7 64 bit computer. It is running Microsoft Office 2010 University Edition, which only comes in 32 bit so far as I know. I am able to connect to my access .accdb database from within Visual
Basic, which I wasnt able to do until I came across this: http://stackoverflow.com/questions/4104228/change-target-cpu-settings-in-visual-studio-2010-express
http://stackoverflow.com/questions/4104228/change-target-cpu-settings-in-visual-studio-2010-express <br/>
Beforehand, I had recieved a "<span name="x_subject Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine." error, and after applying the above fix worked fine. However, now that I am trying to publish my program, I am returned with
the same error, no matter what target CPU I select. The program works fine on 32bit machines, however on my 64bit laptop it is unable to connect to the database. I have tried compatibility mode, downloaded many different add-ons from the Microsoft download
page, but to no prevail. My understanding is that it is not actually compiling the published version to x86, simply running it as such when I build it in Visual Basic, and because there is no apparent way to set target CPU for compiling, I am at a dead end.
Thanks for any help
View the full article
I have searched long and hard for this, so any help or suggestions would be greatly appreciated.
I am using Visual Basic Express 2008 64bit on a Windows 7 64 bit computer. It is running Microsoft Office 2010 University Edition, which only comes in 32 bit so far as I know. I am able to connect to my access .accdb database from within Visual
Basic, which I wasnt able to do until I came across this: http://stackoverflow.com/questions/4104228/change-target-cpu-settings-in-visual-studio-2010-express
http://stackoverflow.com/questions/4104228/change-target-cpu-settings-in-visual-studio-2010-express <br/>
Beforehand, I had recieved a "<span name="x_subject Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine." error, and after applying the above fix worked fine. However, now that I am trying to publish my program, I am returned with
the same error, no matter what target CPU I select. The program works fine on 32bit machines, however on my 64bit laptop it is unable to connect to the database. I have tried compatibility mode, downloaded many different add-ons from the Microsoft download
page, but to no prevail. My understanding is that it is not actually compiling the published version to x86, simply running it as such when I build it in Visual Basic, and because there is no apparent way to set target CPU for compiling, I am at a dead end.
Thanks for any help
View the full article