Search code examples
c#winformssystray

Systray bubble not showing up (with enabled baloons in XP)


I was wondering what is wrong and after searching here I found out it could be due to disabled balloons, but thats not my case. I am using simple code, but it doesnt work. Thank you

    NotifyIcon ntf = new NotifyIcon();
    ntf.BalloonTipText="bla";
    ntf.Visible=true;
    ntf.ShowBalloonTip(3000);

Solution

  • You should add Icon too

    NotifyIcon ntf = new NotifyIcon();
    ntf.BalloonTipText="bla";
    ntf.Visible=true;
    ntf.Icon = new Icon("myApp.ico");
    ntf.ShowBalloonTip(3000);