Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC Problem : How to get available DSN from ODBC32 ?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00133787
Message ID:
00133796
Views:
18
>Hello Satya,
>
> Do you have VFP 6.0 beta? If not come to Chat (Click on Chat button)
>
>Bye
>Jayesh
>
>>>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 ?

yes i have vfp 6.0 beta
Previous
Reply
Map
View

Click here to load this message in the networking platform