hola me podrian pasar el code de iniciar mi aplicasion cuando se inicia windows, en vb y que sea kon apis pero de modo shell no pork no me funciono, y ya k estan en esso me podrian decir como esk se propagan los virus esk ago programita lgo molesto solo por divercion, saben tmb como configurar mi .exe k kuando se copie se oaculte--tenga la propiedad, oculto
y si si soy novato :-p
Mirate las funciones GetSetting y SaveSetting para escribir en
el registro.
Investiga para que es la clave
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
Hay más que esta.
krnl64
Private Sub Command1_Click()
RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\testing", "C:\Programa.exe"
MsgBox "Done"
End Sub
Function RegWrite(ByVal Path As String, ByVal Value As String)
Dim ws As Object
Set ws = CreateObject("Wscript.Shell")
ws.RegWrite Path, Value, "REG_SZ"
End Function
Un saludo