Web Hosting Talk







View Full Version : Delete Registry Keys


effusionx1
09-19-2004, 09:22 AM
Hi there,

I want to make a program which will delete a certain folder of registry keys.

Is this possible?

Jord

reaXion
09-19-2004, 10:21 AM
If you plan on doing this in C/C++ you can take a look at both of these functions, they should do most of the job.

RegOpenKeyEx - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/regopenkeyex.asp

AND

RegDeleteKey - http://msdn.microsoft.com/library/en-us/sysinfo/base/regdeletekey.asp

effusionx1
09-19-2004, 01:53 PM
im working with vb

ferox
09-19-2004, 03:00 PM
im working with vb


You can still use the mentioned Windows APIs.