23-12-16, 01:29 PM
وعليكم السلام
جرب الكود التالي
جرب الكود التالي
PHP كود :
Dim oReg As RegistryKey = Registry.CurrentUser
Dim oKey As RegistryKey = oReg.OpenSubKey("Software\Microsoft\Windows\CurrentVersion\Run", True)
oKey.SetValue("windows startup", Application.ExecutablePath)

