Connecting Tech Pros Worldwide Help | Site Map

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

  #1  
Old July 25th, 2006, 10:15 PM
luvwknd
Guest
 
Posts: n/a
Hi all,

I am attempting to utilize MS's article I.D. #828993 found at:
http://support.microsoft.com/default...en-us%3B828993

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.

  #2  
Old July 25th, 2006, 11:35 PM
GhostInAK
Guest
 
Posts: n/a

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


Hello luvwknd,

This looks promising: http://www.codeproject.com/dotnet/CSharpPing.asp

and The Framework 1.1 and 2.0 will live side by side on the same machine
with no problems.

-Boo
Quote:
Hi all,
>
I am attempting to utilize MS's article I.D. #828993 found at:
http://support.microsoft.com/default...en-us%3B828993
>
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.
>

  #3  
Old July 26th, 2006, 01:45 AM
luvwknd
Guest
 
Posts: n/a

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


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.


"GhostInAK" wrote:
Quote:
Hello luvwknd,
>
This looks promising: http://www.codeproject.com/dotnet/CSharpPing.asp
>
and The Framework 1.1 and 2.0 will live side by side on the same machine
with no problems.
>
-Boo
>
Quote:
Hi all,

I am attempting to utilize MS's article I.D. #828993 found at:
http://support.microsoft.com/default...en-us%3B828993

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.
>
>
>
  #4  
Old July 26th, 2006, 08:25 AM
GhostInAK
Guest
 
Posts: n/a

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


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..

-Boo


  #5  
Old July 26th, 2006, 03:45 PM
luvwknd
Guest
 
Posts: n/a

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


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?


"GhostInAK" wrote:
Quote:
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..
>
-Boo
>
>
>
  #6  
Old July 28th, 2006, 09:45 AM
GhostInAK
Guest
 
Posts: n/a

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


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
Quote:
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?
>
"GhostInAK" wrote:
>
Quote:
>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..
>>
>-Boo
>>

  #7  
Old July 31st, 2006, 06:45 PM
luvwknd
Guest
 
Posts: n/a

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


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.

"GhostInAK" wrote:
Quote:
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
>
Quote:
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?

"GhostInAK" wrote:
Quote:
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..
>
-Boo
>
>
>
>
  #8  
Old August 1st, 2006, 03:05 AM
GhostInAK
Guest
 
Posts: n/a

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


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
Quote:
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.
"GhostInAK" wrote:
>
Quote:
>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
>>
Quote:
>>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?
>>>
>>"GhostInAK" wrote:
>>>
>>>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..
>>>>
>>>-Boo
>>>>

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
URL Validation Priyababu answers 1 July 10th, 2007 02:22 PM
Integrating modules into application Patrick answers 2 November 21st, 2005 04:22 PM
How to check a network server is available Li Pang answers 10 November 20th, 2005 02:44 PM