Thanks Gary,
I must have tried for over an hour but couldn't resolve so I resorted to using oRegistry.Import()
I reviewed the 6th argument this morning and you're right (as if there was any doubt), it does work. I apparently had a numeric value in the 6th argument, oops.
Thanks again.
Hi Dave:
>Can anyone provide some info pertaining to how I can amend the "comment" property of a registry key.
>
>I would like to include a comment about the following registry entry.
>
>SetKeyValueEx('%Shared.Security.Privileges.Delete Records', ;
> 0, ;
> '%Shared.Security.Privileges.Delete Records', 'Privilege',,1)
The optional [cDescription] argument of the SetKeyValueEx() method is used to update the "Comment" column of the AppReg01 table. So, if you specify your comment value as the sixth argument in your SetKeyValueEx call, that should do the trick.
HTH
-=Gary
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement