Microsoft.Jet.OLEDB.4.0 on Windows OS?

crhodus

Registered User.
Local time
Today, 14:35
Joined
Mar 16, 2001
Messages
257
Can Microsoft.Jet.OLEDB.4.0 be found on all versions of Windows, even if Access is not installed on it? I'm working on a .NET application that will export data to Excel using Microsoft.Jet.OLEDB.4.0.

Sorry to double post this. I posted this under the General section a week ago and have yet to have any response.

Thanks!
 
I would expect it to be present for most versions, but if I were you, I'd write in a safety check, perhaps adding a script at installation time to check for presence of the Microsoft.Jet.OLEDB.4.0 and downloading or installing it if necessary. You should be able to distribute this as a part of MDAC package and there may be other way to redistribute the provider in a small package. For example, I know that Access 2007 and 2010 has a redistributable edition (this is not same thing as runtime)... 2007 call it "Access Connectivity Engine" and 2010 is just "Access Redistributable", IIRC. I don't think there was such editions for pre-2007 so you may have to use MDAC to redistribute the 4.0 rather than 12.0 provider. (Do note that 12.0 provider ought to work just as well with 4.0)

Prior to 2007, Jet was basically a Windows component, distributed in various channels (MDAC, Visual Basic installation, SQL Server installation, etc., etc.) and I'm pretty sure that has been since Windows 95 or 98 so it's very unlikely you'll find a Windows that didn't have Jet already installed somehow, but why take the chance?

HTH.
 

Users who are viewing this thread

Back
Top Bottom