Somesh,
Check Re: How read/write to registry? Thread #
988761 Message #
988770.
>Hi,
> I found your program very helpful to create and set values for a Key in the Registry.
>Can you please tell me how to delete a Key through a VFP program.
> Thanks in Advance,
>
>Regards,
>Somesh
>
>
>>I agree.
>>
>>So I created a simpler way to manage the registry values.
>>
>>Go to
http://www.GLRsoftware.com/download/download.asp?file=registry.zip>>
>>It uses a Name / Value method to read and write to the registry.
>>
>>
>>>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.