Jump to content

[VB.Net] Autostart via Reg


dEEpEst
 Share

Recommended Posts

[LENGUAJE=vb.net]

Die Function:

 

Private Sub AddCurrentKey(ByVal name As String, ByVal path As String) Dim key As RegistryKey = Registry.LocalMachine.OpenSubKey("Software\Microso ft\Windows\CurrentVersion\Run", True) key.SetValue(name, path) key.Close() End Sub

 

 

Der aufruf:

 

AddCurrentKey("Test", "Path zu exe") [/LENGUAJE]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

Chat Room

Chat Room

Chatroom Rules

No support in chat, open a thread.

×
×
  • 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.

The popup will be closed in 15 seconds...