Test Foro de elhacker.net SMF 2.1

Programación => .NET (C#, VB.NET, ASP) => Programación General => Programación Visual Basic => Mensaje iniciado por: thecirujano en 28 Diciembre 2010, 16:34 PM

Título: Manejo de registros con WSH vb6
Publicado por: thecirujano en 28 Diciembre 2010, 16:34 PM
Tengo el siguiente codigo
Dim ObjWsh As Object
Set ObjWsh = CreateObject("Wscript.Shell")
ObjWsh.RegDelete "HKEY_LOCAL_MACHINE\SOFTWARE\IVT Corporation\BlueSoleil\Install\InstallDir"
Set ObjWsh = Nothing

El problema es que si trato de borrar el directorio Install no puedo con el siguiente codigo
ObjWsh.RegDelete "HKEY_LOCAL_MACHINE\SOFTWARE\IVT Corporation\BlueSoleil\Install"
PD: El directorio esta sin claves
Como puedo borrar directorios?