Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
API or Registry
Message
 
À
11/10/2002 14:13:01
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:
00710554
Vues:
10
>>>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.
>
>Thanks for you response. I just downloaded the ODBC API for VFP from the UT. I'm not seeing the API's you are referring too. MSDN indicates that the SQLDataSources function should be used? Could you point me in the right direction? Thanks.
*******************
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcsqldatasources.asp

has it, but you'll need to convert it to 'VFP language'
Dr. Ken A. McGinnis
Healthcare software design
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform