You can download registry class from
http://west-wind.com/wwvfppd.htm. There's also registry class included with VFP but it supports only string data.
>Hi all
>
>I am trying to Create, Open, Close & Delete a registry entry. So far I've been able to Create + Close one.
>
>DECLARE Integer RegCreateKey IN Win32API ;
> Integer lnHKey, String @lcSubKey, Integer @lnNewResult
>
>lnHKey = -2147483646 && HKEY_LOCAL_MACHINE
>lcSubKey = "System\\CurrentControlSet\\Control\\ComputerName\\ComputerName\\MyNewReg"
>lnSuccess = RegCreateKey(lnHKey, @lcSubKey, @lnNewResult)
>
>DECLARE Integer RegCloseKey IN Win32API ;
> Integer nHKey
>
>lnHKey = lnNewResult
>lnSuccess = RegCloseKey(lnHKey)
>
>But from there the other 2 don't seen to work.
>
>Could someone point me to where I could get the correct way to use them.
>
>TIA
>Mike
--sb--