Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AppReg01 - Adding new registry keys
Message
De
08/03/2003 14:02:38
Dave Macfarlane
Condo Navigator Ltd.
Alberta, Canada
 
 
À
08/03/2003 03:24:03
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00763148
Message ID:
00763309
Vues:
22
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
Fil
Voir

Click here to load this message in the networking platform