Lancer programme dans 'System Tray' au démarrage de Windows
dixcie
Messages postés15Date d'inscriptionmardi 23 février 2010StatutMembreDernière intervention 1 mai 2010
-
31 mars 2008 à 12:25
cs_Exploreur
Messages postés4822Date d'inscriptionlundi 11 novembre 2002StatutMembreDernière intervention15 novembre 2016
-
31 mars 2008 à 12:49
Bonjour,
je voudrais démarrer mon application dans le 'system tray' avec le démarrage de Windows.
Lorsque l'utilisateur lancerait lui-même l'application, elle se lancerait en mode normal (pas minimisé)...
Pour l'instant j'ai ceci:
Dim regKey As RegistryKey
regKey = Registry.CurrentUser.OpenSubKey("Software\Microsoft\Windows\CurrentVersion\Run", True)
If cbStartWithWindows.Checked = True Then
'Set the program to start with Windows:
regKey.SetValue(Application.ProductName, Application.ExecutablePath)
Else
'Stop the program from starting with Windows:
regKey.DeleteValue(Application.ProductName)
End If
Comment faire pour lancer l'application dans le system tray?
Merci d'avance!
dixcie
A voir également:
Lancer programme dans 'System Tray' au démarrage de Windows