473,383 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Deleting Regedit Values in Visual Basic 6

I need to be able to delete the value of something in my regedit using vb.
Does any1 know how i would go about this.

Thanks

Ste
Jul 17 '05 #1
6 4059
On 16 Oct 2003 04:11:10 -0700, st******@hotmail.com (the_bass_man)
wrote:
I need to be able to delete the value of something in my regedit using vb.
Does any1 know how i would go about this.

Thanks

Ste

What is yout Regedit ?

Do you mean Registry ?

a) Don't use the blasted thing

b) (If you insist) Give it a setting of ""
Jul 17 '05 #2

"J French" <er*****@nowhere.com> wrote in message
news:3f***************@news.btclick.com...
On 16 Oct 2003 04:11:10 -0700, st******@hotmail.com (the_bass_man)
wrote:
I need to be able to delete the value of something in my regedit using vb.Does any1 know how i would go about this.

Thanks

Ste

What is yout Regedit ?


Regedit is Microsoft's tool for viewing/searching/editing the registry. It
exists in Windows.NET, and I believe it has been around since Windows 95.
Adrian
Jul 17 '05 #3
On Thu, 16 Oct 2003 10:04:02 -0400, "Adrian Parker" <no@addy.com>
wrote:

<snip>

Regedit is Microsoft's tool for viewing/searching/editing the registry. It
exists in Windows.NET, and I believe it has been around since Windows 95.


Obviously I know that
- but to delete something 'in' your Regedit means knackering
RegEdit.exe

You mean 'Registry'
- which is as different from RegEdit as a 'Tree and a Dog'

Just store a null value - if you must use the wretched thing

And please remember: your RegEdit is NOT your Registry
Jul 17 '05 #4

"J French" <er*****@nowhere.com> wrote in message
news:3f***************@news.btclick.com...
On Thu, 16 Oct 2003 10:04:02 -0400, "Adrian Parker" <no@addy.com>
wrote:

<snip>

Regedit is Microsoft's tool for viewing/searching/editing the registry. Itexists in Windows.NET, and I believe it has been around since Windows 95.

Obviously I know that


Obviously it's not that obvious :)

- but to delete something 'in' your Regedit means knackering
RegEdit.exe

You mean 'Registry'
- which is as different from RegEdit as a 'Tree and a Dog'


You knew what he meant.
Adrian
Jul 17 '05 #5
ahhhh dont shout :( yes i did mean registry. I understand setting the
value to "" but how do i point it to the right place. i need to know
from the beggining how to first of all find the value from within

thanks and sorry for being stupid :)
Jul 17 '05 #6

"the_bass_man" <st******@hotmail.com> wrote in message
news:e5**************************@posting.google.c om...
ahhhh dont shout :( yes i did mean registry. I understand setting the
value to "" but how do i point it to the right place. i need to know
from the beggining how to first of all find the value from within

thanks and sorry for being stupid :)


You can use Windows API functions

RegOpenKeyEx
RegQueryValueEx
RegSetValueEx

which seem to work as advertised.

From one bass man to another...

Regards

--Jim.
Jul 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Mark | last post by:
I get an error message when deleting rows from a table in Access database. My understanding is that the error message relates to the sharing of the Inetpub and the wwwroot directory. While I...
0
by: Niranjan | last post by:
Access XP Windows XP This code has been working for over 5 years with no problems and all of a sudden I am running into these wierd problems. I have this code to delete a record....
3
by: Eric Hudson | last post by:
A quick rant and a question. Why does the designer in VS2003 delete code about custom components that it can't load? I've had large sections of forms disappear in the blink of an eye just...
7
by: German | last post by:
How Can I recover data from REgEDIT since Visual C++ 6.0 ? Thanks in advanced
2
by: Marcelo | last post by:
Hi guys, I'm using the following code to send values from one page to another, but seems to me, that the event Page_Load in the receiving page never fires. Why? This is the code: Thanks ...
1
by: Brian Keanie | last post by:
Used the "find duplicates" wizard to identify approx 500 duplicates in a single table. How do you delete the duplicates without doing it one at a time?
5
by: George | last post by:
VB.net 2003 standard, XP windows home edition. Installed first application OK today. When I removed the application via Control Panel, there were no problems and the app folders were deleted. ...
0
by: sdb1031 | last post by:
Hi, I am trying to learn how to write, change and delete registry keys and values of a remote computer via Python's _winreg module. So far, I've been able to programmatically create a value and...
2
by: Meshuggah | last post by:
Hey All, Could somebody please tell me how to delete all files inside a folder using Visual Basic .NET 2003? (I know this may be basic, but forgive me, im newbie) Thanks in advance, ...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.