Information générale
Catégorie:
Fonctions Windows API
Hi Darren,
I'm not sure this is 100% what you want but I think its along the right lines. Theres a REGISTY class shipped with VFP that can get this sort of info. In the example below i've used the class but i'm sure you can nick the specific API calls from the class if that fits your needs.
LOCAL loODBCReg, lnErrNum, laODBCData
DIMENSION laODBCData[1]
set default to "C:\Program Files\Microsoft Visual Studio\Vfp98\FFC\"
IF NOT "REGISTRY.VCX" $ UPPER(SET("CLASSLIB"))
SET CLASSLIB TO registry ADDITIVE
ENDIF
loODBCReg = CREATEOBJECT("ODBCReg")
DIMENSION w_test[1]
w_test = loODBCReg.getodbcdrvrs(w_test)
Hope this gives you an idea of what you want to do. Let me know if I can help anymore.
Jon
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement