Thanks for the split I wasn't positive if I should or not. So do I handle the return events the same way as I would an async ping? Because I just want to know if it is up and running on the device not neccessarily envoke an entire session with the device. I hope that makes sense.
So what about checking the status of ports on these hosts. I was attempting to use the Net.Sockets.TcpClient connect and got it to work but only in a blocking type fashion instead of an async fashion is there a way to get that to go async as well?
Now I am having some trouble, when I put a DNS name of a device the system cannot find it is throwing an innerexception, I am unsure how to properly handle this, I assume a try catch thingy, but where should it go in the code? Now it is working to detect wether the device pings or not it is just...
Ok that worked prefectly to run it! The only problem now is the output is kinda funky. In the ListView it is showing just the hostname... I got that fixed by having the view be "Details" and now I have column headings, etc. JohnH thanks for all your help! If I think of anything else I will post...
So close!
K here is the scoop now... I copy and pasted your code directly into my VS2005. Created a Button and placed it on the form. Created a ListView and placed it on the form. Left the names alone. On the ListView I did "edit columns" and added three columns. Changed the text on each...
Good point, I am clueless to be honest. I would love to send them all out in one shot and then when they come back I need them to update all the buttons to red or green depending on if they responded or not. I will look some information up on the BackgroundWorker process and DoWork.
Might you...
Hey all, I am noob to VB.Net and most Object Orientated (OO) Programming. Mainly I have programmed with PHP and a small amount of JavaScript (AJAX), I am using VS 2005 Express (Visual Basic) because I don't know any better. I am an independant network consultant and am interested in pinging...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.