Jump to content

[VB.Net] Autostart via Reg


Recommended Posts


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

This topic is now closed to further replies.

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.