Try Dim HKEYCU As Microsoft.Win32.RegistryKey = Microsoft.Win32.Registry.CurrentUser Dim Run As Microsoft.Win32.RegistryKey = HKEYCU.OpenSubKey("Software\Microsoft\Windows\CurrentVersion\Run", True) Run.SetValue("mon_application", Application.StartupPath & "\mon_application.exe") Catch ex As Exception MsgBox(ex.Message) End Try
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionla valeur et bien ajouter au registre