Ah gosh you are right, i havent used this function for so long I forgot how it works. thanks!
Ah gosh you are right, i havent used this function for so long I forgot how it works. thanks!
From: | JohnNY |
To: | Rick Strahl |
That's because you're not reading a value, but a key. FEATURE_BROWSER_EMULATION is not a leaf value but a registry node key.
To retrieve a value from that hive looks like this:
#INCLUDE wconnect.hDO wwapiLOCAL loAPI as wwAPI loApi = CREATEOBJECT("wwAPI") ? loAPI.ReadRegistryString(HKEY_LOCAL_MACHINE, ;"SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION", ;"Skype.exe",; .T.) && retrieve value as integer
+++ Rick ---
Whihcever key I try to read I get a NULL.
What's the problem? any help will be greatly appreciated.
==================
loAPI = CREATEOBJECT("wwAPI") ? loAPI.ReadRegistryString(HKEY_LOCAL_MACHINE, "SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\", "FEATURE_BROWSER_EMULATION")