Thanks, This program or rather class was what I referred to
Now I only get eg Microsoft but not
Word
Excel
Powerpoiint
Visual foxpro
etc
which is what I actually would need
Thanks for all your help
peter
>I have no idea what your _registry.prg is capable of but you can easily do that with VFP FFC registry class
>DIMENSION laList[1]
>oReg = NEWOBJECT("Registry", HOME(0)+"FFC\registry.vcx")
>IF oReg.Openkey("SOFTWARE", HKEY_LOCAL_MACHINE) = 0
> IF oReg.Enumkeys(@laList) = 0
> ...
> ENDIF
> oReg.Closekey()
>ENDIF
>
>
>>I need to inventory computer equipment and installed software
>>
>>so I think I should read in the registry keys:
>>HKEY_LOCAL_MACHINE.SOFTWARE
>>
>>How can I do this? the _registry.prg seem to return a value if I know the key like
>>
>>nErrNum = oReg.GetAppPath(m.cExtn,@cAppKey,@cAppName)
>>
>>
>>
>>But I want to enumerate ALL keys
>>
>>Thanks
>>
>>Peter
Peter Cortiel