Home All Groups Group Topic Archive Search About

How to get app to explore for Odbc DSN?

Author
14 Apr 2006 10:09 PM
Carlo Stonebanks
I used to program VB 6 using RDO to access ODBC.

When opening an ODBC connection with RDO, it was possible to configure a
parameter to allow the ODBC Data Source Administrator to pop up, allowing
you to create/edit ODBC data sources on the fly, and then return the DSN of
the one you selected.

I see no way of triggering this behaviour or something like it in .NET -
(whether VB or C#)

Does anyone know how to do this - or emulate it?

Thanks!

Author
15 Apr 2006 5:48 AM
Cor Ligthert [MVP]
Carlo,

In C# and Net are rarely ODBC used. If you want a slightly better change on
an answer for this I would ask it in your case in the newsgroup.

microsoft.public.dotnet.framework.adonet

Cor

Show quoteHide quote
"Carlo Stonebanks" <cstoneba***@nissenfasteners.com> schreef in bericht
news:ueWQkABYGHA.4120@TK2MSFTNGP03.phx.gbl...
>I used to program VB 6 using RDO to access ODBC.
>
> When opening an ODBC connection with RDO, it was possible to configure a
> parameter to allow the ODBC Data Source Administrator to pop up, allowing
> you to create/edit ODBC data sources on the fly, and then return the DSN
> of
> the one you selected.
>
> I see no way of triggering this behaviour or something like it in .NET -
> (whether VB or C#)
>
> Does anyone know how to do this - or emulate it?
>
> Thanks!
>
>
>