>Don't know about an API, but all the information for ODBC connections is stored in the Registry. Information about system DSNs is stored in two sub keys of the “hkey_local_machine\” root key.HKEY_LOCAL_MACHINE handles the System DSNs that are defined. The User DSNs would follow the same path under HKEY_CURRENT_USER.
Laterness,
Jon
Jon Rosenbaum
Devcon Drummer