Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 6.0 Registry.vcx
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00231078
Message ID:
00231201
Vues:
19
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform