Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Editing the registry
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01027709
Message ID:
01027714
Views:
12
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform