?
Solved

Easy points: delete string in reg

Posted on 1998-02-18
3
Medium Priority
?
233 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 2

Expert Comment

by:Waldek
ID: 1359608
Use TRegistry.DeleteKey
0
 
LVL 5

Accepted Solution

by:
ronit051397 earned 200 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month10 days, 13 hours left to enroll

770 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