Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Editing the registry
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Divers
Thread ID:
01027709
Message ID:
01027714
Vues:
13
This message has been marked as a message which has helped to the initial question of the thread.
Darrell,

Here is a sample of how to do it using the FFC Registry Class:

Hope this helps,
Bo Durban
www.moxiedata.com
oReg = NEWOBJECT("registry",HOME()+"ffc\registry.vcx")
cGuid = ""

cClass = "MyServer.MyClass"
oReg.OpenKey("\"+cClass+"\CLSID\")
oReg.GetKeyValue("",@cGuid)
** OR
cGuid = "{xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx}"
** OR
cGuid = COMCLASSINFO(Application,4)

oReg.OpenKey("\CLSID\"+cGuid+"\LocalServer32\")

** Get the registry value
cValue = ""
oReg.GetKeyValue("",@cValue)
?cValue

** Set the registry value
cValue = cValue + " /CMDLINE"
oReg.SetKeyValue("",cValue)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform