Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to test if an ODBC DSN exists?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00862216
Message ID:
00862242
Views:
16
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform