views:

113

answers:

1

Hi, 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);
+1  A: 

You should add Icon too

NotifyIcon ntf = new NotifyIcon();
ntf.BalloonTipText="bla";
ntf.Visible=true;
ntf.Icon = new Icon("myApp.ico");
ntf.ShowBalloonTip(3000);
ArsenMkrt
It works, thank you!
Petr