Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 6.0 Registry.vcx
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00231078
Message ID:
00231201
Views:
18
>I am Having Difficulty Reading a value from the registry.
>
>This is what I have done
>
>HKEY_LOCAL_MACHINE = -2147483646 && BITSET(0,31)+2
>SET CLASSLIB TO "Registry.vcx"
>oRegistry = CreateObject("Regisgry")
>oRegistry.IsKey("Software\SoftTec\JCS32",HKEY_LOCAL_MACHINE)
>oRegistry.SetRegKey("Path","C:\temp","Software\SoftTec\JCS32",HKEY_LOCAL_MACHINE,.T.)
>oRegistry.OpenKey("Software\SoftTec\JCS32",HKEY_LOCAL_MACHINE)
>
>Here is where I get stuck. Do I use GetKeyValue or EnumKeyValues

GetKeyValue gets a specific key by name; EnumKeyValues returnsa an array of key value name/name pairs

>These methods return 0 for successful.
>
>Thanks
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform