Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC Register
Message
De
25/07/1998 13:26:15
 
 
À
25/07/1998 13:14:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00116884
Message ID:
00121368
Vues:
20
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform