Home Grown Coder
Well-known member
Background
I am working on a WinForms application which we currently only distribute as 32-bit, but now plan to distribute as both 32 and 64-bit. The application currently has functionality to export data to Microsoft Access using the Microsoft Jet OLEDB provider.
Problem
The only way that I've found that supports both 32 and 64-bit export to Access is using the Microsoft Access Database Engine (ACE). This looks good in theory until I consider that Microsoft recommends using the 32-bit version of Office, which then implies that the 32-bit version of ACE is installed or can only be installed. This then creates an issue with my 64-bit application using the provider to write the Access file (assuming the user has installed my application as 64-bit).
Question
Does anybody have a solution for this or another way to write the *.mdb file? There is a long discussion on a Microsoft forum about this with one suggestion that it's possible to install both the 32 and 64-bit versions of ACE side-by-side by running the install package using the '/passive' argument...has anybody had success with this in a deployed application?
Thanks in advance for any advice!
I am working on a WinForms application which we currently only distribute as 32-bit, but now plan to distribute as both 32 and 64-bit. The application currently has functionality to export data to Microsoft Access using the Microsoft Jet OLEDB provider.
Problem
The only way that I've found that supports both 32 and 64-bit export to Access is using the Microsoft Access Database Engine (ACE). This looks good in theory until I consider that Microsoft recommends using the 32-bit version of Office, which then implies that the 32-bit version of ACE is installed or can only be installed. This then creates an issue with my 64-bit application using the provider to write the Access file (assuming the user has installed my application as 64-bit).
Question
Does anybody have a solution for this or another way to write the *.mdb file? There is a long discussion on a Microsoft forum about this with one suggestion that it's possible to install both the 32 and 64-bit versions of ACE side-by-side by running the install package using the '/passive' argument...has anybody had success with this in a deployed application?
Thanks in advance for any advice!