Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Editing the registry
Message
From
30/06/2005 11:28:06
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Editing the registry
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01027709
Message ID:
01027709
Views:
62
I am having a hard time figuring out how to update an existing value in the registry. I have been banging my head against the wall trying to use the registry class that is included with visual foxpro in registry.prg. Here is the problem. When you build a vfp exe the following gets created.

HKEY_CLASS_ROOT\{SOMEGUID}\LocalServer32

NAME TYPE DATA
======================================================
(Default) REG_SZ C:\MYVFP.EXE /AUTOMATION


I need to be able the change the value "C:\MYVFP.EXE /AUTOMATION". How can I do this? I've been trying to figure out registry.prg but I just can't get it to work.
Next
Reply
Map
View

Click here to load this message in the networking platform