Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting Windows Registry Key

Status
Not open for further replies.

ahamadalisha

Programmer
Aug 9, 2000
1
0
0
AU
Hello friends<br><br>I want to delete (though VC++ programming) <br>a Windows Registry Key (on Windows NT/2000<br>workstation) which has the following <br>attributes:<br><br>Logged user/Administrator : Read<br>SYSTEM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: Full control<br><br>How can I do it ?&nbsp;&nbsp;Would you please help<br>me.<br><br>Ahamad
 
Hi Ahamad,<br><br>There's a FAQ in the VB General Discussion forum which might be of interest to you. It's a VB FAQ but is mostly concerned with calls to the Win32API and so should be useful. <p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
You can also use the REGEDIT /? from DOS prompt to see the command line options.&nbsp;&nbsp;It should read something like:<br><br>C:\WINNT\REGEDIT /D HEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\PcSecure<br><br>NOTE--PcSecure is obviously a program of my design and I want to delete ONLY my prog's uninstall feature from the control panel's Uninstall screen. So that a user doesn't uninstall it again and get an err msg about not finding the UNINSTALL string.<br><br>Just be very <b>very</b> careful on what you delete.<br><br>Also, if you ment &quot;How to get to registry&quot; selete RUN and type in REGEDIT and the registry editor will begin.<br><br>Good Luck, Happy programming.<br><br>-MiggyD<br> <p> <br><a href=mailto: > </a><br><a href= > </a><br>By the twitching of my thumb, something wicked this way comes........oh, it's only a boogy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top