Easy points: delete string in reg

How do I delete a string in the registry, from Delphi 2 Desktop? I know how to delete a key, but thats not quite enough
kogerAsked:
Who is Participating?
 
ronit051397Connect With a Mentor Commented:
Use DeleteValue. From Delphi Help:
Erases a data value that is associated with the current key.

function DeleteValue(const Name: string): Boolean;

Description

Call DeleteValue to remove a specific data value associated with the current key. Name is string containing the name of the value to delete. Keys can contain multiple data values, and every value associated with a key has a unique name.
DeleteValue returns True if the deletion is successful, False if the deletion fails.
0
 
WaldekCommented:
Use TRegistry.DeleteKey
0
 
kogerAuthor Commented:
Thanx, the problem was that the helpfile to Delphi 2, desktop, does not say a word about registry.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.