Hi, I am new to vb programming. I am so new, that I just finished installed VB 6.0 like 2 minutes ago so you now know how much knowledge of programming I have. This is what I need to do. I have a couple of stores that are on a high speed internet connection and I have a vpn link betweeen the stores and my office. Usually I just go to a DOS Prompt and type ping 192.168.10.1 and it either gives me a reply or a time out. Now I want to create a vb program (.exe) so that I can click on a button and it ping's the ip address which is linked to that button and if it reply's I would like a green light next to that store and if it times out I want a red light next to that store. I don't expect someone to tell me everything step by step how to acomplish this. All I need to know is how do I get the "button" I created linked with the ping command to the proper IP and if fails I get a little red light and if it reply I would like a green light.

Thanks for any help in advance.

ScarEye


P.S. Sorry for being a newbie.