Solved

Easy points: delete string in reg

Posted on 1998-02-18
3
223 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
ID: 1359608
Use TRegistry.DeleteKey
0
 
LVL 5

Accepted Solution

by:
ronit051397 earned 50 total points
ID: 1359609
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
ID: 1359610
Thanx, the problem was that the helpfile to Delphi 2, desktop, does not say a word about registry.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to draw animated progressbar in Tvirtualstringtree 5 116
Delphi - replicating a form 8 64
Help on project with Soap 10 48
How to debug For loops? 3 45
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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

911 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

17 Experts available now in Live!

Get 1:1 Help Now