Click here to Skip to main content
15,891,843 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all.

Firstly great site. Been a member for years and never had to ask a question before as someone already asked it! I'm a self taught programmer and CodeProject was my biggest classroom. However this time I'm stuck. Can't seem to find the answer anywhere, or maybe I'm just asking the wrong questions!

I made an application that checks if certain computers are online using My.Computer.Network.Ping. It returns an array of IPs that failed. I then show this list as a balloon tip on the notify icon.

VB
If lstNewList.Count = 0 Then
               lstNewList = MyArray.ToList()
               Dim sOutput As String
               sOutput = "Computers Disconnected: "
               For Each sElement As String In lstNewList
                   sOutput = sOutput & Chr(13) & sElement
               Next
               Me.NI.ShowBalloonTip(2000, " PC Disconnected!!", sOutput, ToolTipIcon.Error)
Else
'Backup the list before copying from array.
End If


What I want to do is put each IP in its own balloon and then keep it open until user closes it. New balloons will be next to the older ones. Exactly like Free Download Manager when it completes downloads.

I tried:
VB
For Each sElement As String In lstNewList
                   Me.NI.ShowBalloonTip(2000, "WARNING!!", sElement, ToolTipIcon.Error)
Next

but only see one IP listed.
The new balloon must not close the older ones.

Anybody knows how it's done? Or do I have to create my own controll?
Posted
Updated 24-Oct-14 0:13am
v2

1 solution

Neva mind. Solved it myself.

Didn't need to create my own controll after all.

Doesn't look like anybody is interested in this so if anyone wants to know how, comment and I'll put it up.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900