Hello Everyone,

VBScript happens to be one of my biggest weaknessess. I trying to create a vbscript that will delete the following registry entry. HKEY_CURRENT_USER\Software\Hummingbird

Can anyone point me in the right direction? I appreciate any help.

0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


Check out the ASE Registry Script Wizard:

It produced this...

Dim WSHShell
Set WSHShell = CreateObject ("WScript.Shell")
WSHShell.RegDelete "HKEY_CURRENT_USER\Software\Hummingbird"
Answered 01/30/2006 by: bkelly
Red Belt

Please log in to comment
you can put the whole path as string into strRegValue
and can use error handling as well

Consider this

Set WshShell = Wscript.CreateObject("Wscript.Shell")
On Error resume Next
strRegValue = WshShell.RegRead ( strRegPath )
If Err.Number = -2147024894 Then
' The entry does not exist
strRegValue = WshShell.RegDelete ( strRegPath )
End If
Answered 02/01/2006 by: AssmbLLYCoder
Senior Yellow Belt

Please log in to comment