dEEpEst Posted December 20, 2017 Share Posted December 20, 2017 [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 More sharing options...
Recommended Posts