Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
API or Registry
Message
De
11/10/2002 13:42:57
 
 
À
11/10/2002 13:36:39
Steve Summers
Pima County Superior Court
Tucson, Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00710448
Message ID:
00710451
Vues:
14
>I need to fill a combobox with the system DSN's. I can use a win32 API or walk the registry. Anyone have any advice on this? Not sure what API to use to do this but I do see the values in HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\

...and the API will walk the registry...

the only concern is that it will not pick up User DSNs this way - there are separate API calls defined for each type of DSN, which correspond to different locations in the registry.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform