Hi Everybody,
I am developed an application software in that i want to use notification Icon. But it seems to doesn't work for me. can anybody help me?

Here is my code

private void button29_Click(object sender, EventArgs e)
        {
            notifyIcon1.Visible = true;
            notifyIcon1.ShowBalloonTip(2000, "Hello", "Hi", ToolTipIcon.Info);
           
        }

it will not display any notification....

Thanks in advance

Hello,

You forgot to assign an icon. This code works for a Win-Form-Application:

private void Form1_Click(object sender, EventArgs e)
        {
            notifyIcon1.Icon = new System.Drawing.Icon(@"c:\temp\Administrator.ico");

            notifyIcon1.BalloonTipText = "Hello";
            notifyIcon1.BalloonTipTitle = "Message";
            notifyIcon1.BalloonTipIcon = ToolTipIcon.Warning;
            notifyIcon1.Visible = true;
            notifyIcon1.ShowBalloonTip(10000);
        }

hi C#Jaap
Thanks for reply its Working

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.