Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Read in registry values
Message
De
19/09/2007 09:31:00
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01255406
Message ID:
01255459
Vues:
19
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform