>>Is there a way to find out if a particular OleDb provider is installed at runtime?
>>Thanks,
>>Einar
>
>Ohh beautiful is the .NET framework!!!
>
>
>System.Data.OleDb.OleDbEnumerator o = new System.Data.OleDb.OleDbEnumerator();
>System.Data.DataTable dt = o.GetElements();
>
>string s = "";
>for (int i = 0; i < dt.Rows.Count; i++)
>{
> for (int j = 0; j < dt.Columns.Count; j++)
> {
> s += dt.Rows[i][j].ToString() + " ";
> }
> s += Environment.NewLine;
>}
>MessageBox.Show(s);
>
>
>Now this might query the (f@#$%@$!@#ing) registry behind the scenes but ignorance is bliss :)
Einar,
Thank you for sharing the solution. I often wondered myself about this. Which brings me to another question but I will post it as a separate thread.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham