Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding datasource names
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00020689
Message ID:
00020847
Vues:
46
>>>I know there
>>> is an ODBC.ini file that has the names, but I could only find functions
>>> that would return the values of the ini keys.
>>
>>Scot,
>>what about using lowlevel -file IO to scan the ini file and get the Keys names?
>
>That is exactly what I did. I was hoping for a more "elagant" solution (and looking to save some time (s)).
>
>I got it working now. I plan on refining it somewhat and then I will make it available. If there are any MS SQL DBA's out there who would be interested in the code, let me know.
>
>West Wind has a registry class that looks like it would do the trick. Again, the data source names are keys, not values, but I bet I could tweek it enough to have that work as well.
>
>Thanks for the reply,
>Scot.

I would be interested in your code solution. TIA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform