Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC Register
Message
From
25/07/1998 13:26:15
 
 
To
25/07/1998 13:14:58
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00116884
Message ID:
00121368
Views:
22
>>>Hi,
>>>
>>>How can i register a ODBC?(Control Panel ODBC)
>>>
>>>Thanks
>>>Bye,
>>
>>An ODBC driver or DSN? Creating an ODBC DSN I can help with. An ODBC driver is usually installed with an install program that comes with the driver. Other than that, you would have to look in the registery to see what a typical one looks like.
>
>I need to create a System DSN manually through code.
>Any Help?
>
>Thanks :>

If I understand correctly... a DSN is just some entries in odbc.ini and odbcinst.ini... If you manually create a system DSN, then look in there files to see the entries added. Then...

Use the windows APIs to access ini files to create the sections/entries you need for the DNS. If I remember the syntax was pretty straight forward... check out the .ini file.

Basically, this is all that the ODBC editor does... edit these ini files.

BOb
Previous
Reply
Map
View

Click here to load this message in the networking platform