Solved

Easy points: delete string in reg

Posted on 1998-02-18
3
220 Views
Last Modified: 2010-04-04
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
0
Comment
Question by:koger
3 Comments
 
LVL 2

Expert Comment

by:Waldek
Comment Utility
Use TRegistry.DeleteKey
0
 
LVL 5

Accepted Solution

by:
ronit051397 earned 50 total points
Comment Utility
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
 

Author Comment

by:koger
Comment Utility
Thanx, the problem was that the helpfile to Delphi 2, desktop, does not say a word about registry.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now