How to ping an IP address by using sockets in Visual Basic .NET

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

I am attempting to utilize MS's article I.D. #828993 found at:
http://support.microsoft.com/default.aspx?scid=kb;en-us;828993

In an effort to create a GUI Ping utility that ultimately will show me via a
green indicator if a system is pingable and a red indicator if a system is
not pingable. In addition I want to be able to ping a range of addresses at
one time and have the program return my indicators.

Anyway, this article appears to be a good place to start, however my skills
in VB.NET have been sitting by the wayside for about 1.5 years now so I am a
bit out of touch with what some of the Microsoft preliminary expectations as
far as programming ability are with regards to this article.

If anybody can shed some light on where a good place to start might be,
either with this article or maybe with a different article, I'd sure
appreciate it. This MS article seems to have a ton of useful code, however I
have not been able to create a form to go with the code, if indeed that is
what's needed.

Furthermore, if anybody can give me a link to some basic Ping utility source
code that I can play with for a while I may be able to use it as a good
learning tool.

I cannot utilize .NET2.0 framework as we run some legacy apps that don't
support it, so my development environment has to be VS.NET2003 and .NET1.1
framework.

Thanks in advance to anybody who will assist me.
 
Thanks GhostInAK;

I had found this code prior to my post here, unfortunately, this
codeproject.com sample is in Visual C#.NET which I am not familiar with. Any
idea if Visual C#.NET and VB.NET are that much different that I couldn’t pick
it up quickly?

Thanks again.
 
Hello luvwknd,

They are both first-rate OOP languages.. so the concepts are the same.. the
only difference is the syntax.. and how would I know how quickly you learn?
Read the language spec.. check out some sample code..

-Bo
 
It would be my estimation that a skilled programmer (maybe not you) would
know the variances between vb.net and c#.net and could make an educated
postulation whether or not a person who has used vb.net could transcend into
c#.net without much ado.
I suppose my incorrect thought here was thinking you might be a skilled
programmer, but then again you did reply to a vb.net forum with a c#.net
suggestion didn’t you?
 
Hello luvwknd,

Well yes, just because you can read and write English must mean you can read/write
Spanish and French as well. Moron.

-Boo
 
Yes, more on than off... that's more than can be said for you. You were the
originator of the smart-ass mentality, not me. I simply replied with 'just
the facts'.

This is the problem with these forums, you get idiots that think they know
it all and then when someone points out that they don't know it all, they get
all smart-assy just as you have done.
Go back to school and learn some basic respect skills and you will find that
life is much better.
 
Hello luvwknd,

Yeah, well, you can respect my ass, bitch.
And me go back to school? HA. Yer the one askin for help, loser.

-Boo
 
Back
Top