Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC Problem : How to get available DSN from ODBC32 ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00133787
Message ID:
00133794
Vues:
13
Ok, There is one available in VFP5 samples. Look into Registry.Prg under vfp samples dirctory.


>>Hello Satya,
>> In this case, You might want to right a small prg which go throug registry and find out the available DSN in ODBC.INI.
>>
>>There are defined in \HKEY_CURRENT_USER\SoftWare\ODBC\
>>
>>HTH
>>
>>Bye
>>Jayesh
>>
>>>I want to display all the available DSN's in a list box,
>>>as ,when the command SQLCONNECT() is issued without any parameters.
>>>
>>>The API functions are available in C:\windows\system\odbc32.dll
>>>
>>>I do not know which functions I have to use and how I have to use to get all available DSNs.
>>>
>>>Any help will be of great help.
>
>How to read the regestry ?
- Jayesh
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform