Solved

Easy points: delete string in reg

Posted on 1998-02-18
3
232 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 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

707 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