Con este ejemplo pongo el programa en el registro
Set Regedit = CreateObject("WScript.Shell")
Regedit.RegWrite "HKLM\Software\Microsoft\Windows\CurrentVersion\Run\EJEMPLO", App.Path & "\" & App.EXEName & ".exe"
la pregunta es: ¿como hago para sacarlo?
(http://img211.imageshack.us/img211/3871/search8fc.png) (http://imageshack.us)
....
http://foro.elhacker.net/index.php/topic,85073.0.html
' Quitar la clave
Dim s As String
'
s = mReg.GetRegString(cvRun, txtClave.Text)
If s <> "" Then
If mReg.DeleteValue(cvRun, txtClave.Text) = ERROR_NONE Then
LabelInfo.Caption = "La clave se ha eliminado del registro."
Else
LabelInfo.Caption = "ERROR al eliminar la clave."
End If
Else
LabelInfo.Caption = "La clave NO estaba creada."
End If
http://www.elguille.info/vb/utilidades/ExeEnCurrentVersionRun.htm
Salu2
Creo que este tema se habló 1000000E+99999 veces en el foro, MIRA LOS TEMAS PEGADOS QUE PARA ALGO ESTÁN AHI.
Saludos.