Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find out if a particular OleDb provider is installed
Message
 
To
07/11/2006 15:25:11
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01167807
Message ID:
01167849
Views:
18
>Hi Einar can you elaborate a litle more? what oledb provider? your app should install the oledb provider you need, but you can always look in \Program Files\Common Files\System\Ole DB directory, that's the dir where all OLEDB providers dll's are.
>
>>Is there a way to find out if a particular OleDb provider is installed at runtime?
>>Thanks,
>>Einar

I am creating a small little import app that imports data from an old app into my new app. The old app is using Advantage Database Server (ADS) and the new app is using M$SQL Server 2005. My new app installs everything needed to run the new app, but I will make the ADS OleDb provider an optional install (only if they want to run the import app). Anywho, instead of just traping the exception if they don't have the OleDb provider needed I wanted to display a message asking them to install the provider before running the import app. It appears that only M$ put their OleDb files in \Program Files\Common Files\System\Ole DB\.
Well it looks like I have to look in the registry for this.

Einar
Semper ubi sub ubi.
Previous
Reply
Map
View

Click here to load this message in the networking platform