Re: How do I do this?

From: gabriel (no_at_no--spam.com)
Date: 02/13/04


Date: Fri, 13 Feb 2004 19:10:12 +0000

Calvin Lai wrote:

> Does anyone know how could I display a dialog box containing similiar
> info as in odbcad32 and allows user to select one of the DSN from
> there? Thanks.

Read the registry for ODBC DSNs. Pay special attention to any differences
between versions of windows (ie, the location may be different).

Then test, test, test. Make sure all users can access the keys, give
helpful error messages if something fails, etc...

-- 
gabriel


Relevant Pages

  • RE: Get list of available ODBC DSN
    ... ODBC DSNs can be registry base or file based. ... For file based you really have to search your file system. ...
    (microsoft.public.data.odbc)
  • adding a MS Access ODBC DSN via SQLConfigDataSource
    ... I am aware of the 'hack the registry' approach. ... "Colin Stutley" wrote: ... > add the appropiate registry entries for the DSN. ... > uses ODBC DSNs to connect to multiple access databases. ...
    (microsoft.public.dotnet.languages.csharp)

Loading