Lancer programme dans 'System Tray' au démarrage de Windows

dixcie Messages postés 15 Date d'inscription mardi 23 février 2010 Statut Membre Dernière intervention 1 mai 2010 - 31 mars 2008 à 12:25
cs_Exploreur Messages postés 4821 Date d'inscription lundi 11 novembre 2002 Statut Membre Dernière intervention 15 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

1 réponse

cs_Exploreur Messages postés 4821 Date d'inscription lundi 11 novembre 2002 Statut Membre Dernière intervention 15 novembre 2016 15
31 mars 2008 à 12:49
Salut,

En regardant peut-être dans ces sources....

A+
Exploreur

 Linux a un noyau, Windows un pépin
0
Rejoignez-nous