Ok, i've got it partly working.
When the form loads this command is given:
code:
Call Ping()
And when the button is pressed that does the same command.
The code inside Ping() pings a server and makes a image visible if it gets a response or else makes an image next to it visible if there no response.
But if all servers are online there will be a list of images visable. Fair enough untill i refresh that list by pressing the button with
Call Ping()
in it and if a server is offline it will make the offline and online image active.
Do you get me.
So when the form loads there is
1 IMAGE
2 IMAGE
3 IMAGE
4 IMAGE
5 IMAGE
And if i refresh and one goes offline its like
1 IMAGE
2 IMAGE IMAGE
3 IMAGE
4 IMAGE
5 IMAGE
When i need it to be
1 IMAGE
2 IMAGE
3 IMAGE
4 IMAGE
5 IMAGE