The following routine returns bios date in VFP, using registry
class shipped with VFP:
#DEFINE HKEY_LOCAL_MACHINE -2147483646
SET PROCEDURE TO REGISTRY ADDITIVE
local oReg, cValue
oReg = CreateObject("FoxReg")
cValue = ''
biosdate = oReg.GetRegKey("BIOSDate", @cValue, ;
"Enum\Root\*PNP0C01\0000", HKEY_LOCAL_MACHINE )
It this generic: will it work always under Windows 95, 98?
Why it does not work under NT ?
How to make generic routine that works under NT also?
Andrus