Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Generic routine to return bios date
Message
From
27/12/1998 16:56:06
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Generic routine to return bios date
Miscellaneous
Thread ID:
00170611
Message ID:
00170611
Views:
51
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
Next
Reply
Map
View

Click here to load this message in the networking platform