General information
Category:
Windows API functions
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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only