Displaying Source Code(s)
|
|
RegDelete Statement
--------------------------------------------------------------------------------
Description : The RegDelete statement deletes Keys and Values
from the Windows Registry. The required argument regpath is the
path to a Key or Value that will be deleted.
<%
Private Sub RegDelete(ByVal regpath)
Dim objShl
Set objShl = CreateObject("wscript.shell")
On Error Resume Next
objShl.RegDelete( regpath )
If Err Then Err.Clear
On Error GoTo 0
Set objShl = Nothing
End Sub
%> |
|
|