Click to See Complete Forum and Search --> : PING Function
tgo57
Oct 12th, 2002, 01:19 PM
I need a PING Function in VB.NET for a GAME LAUNCHER program I have written. A quick check on the internet doesn't reveal any good written routines or classes to do this. Does anyone out there know of anygood PING ROUTINES?
Much appreciated.
hellswraith
Oct 12th, 2002, 01:57 PM
It's in C#, but here is one that should work for you:
http://www.c-sharpcorner.com/network/ping.asp
tgo57
Oct 12th, 2002, 02:15 PM
I brought this down and machine and ran it and got the following error :
Unhandled Exception: System.BadImageFormatException: The format of the file 'pin
g.exe' is invalid.
File name: "ping.exe"
Furthermore I really need a .DLL so I can get a return value inside my .NET application. The way this is written I cant do that.
Any other ideas?
Thanks
Jeremy Martin
Oct 12th, 2002, 03:42 PM
I would search this forum, there has been two or three examples that can be put in a class and compiled. I myself have posted a class that will do it. Just search for ping in the the vb.net forum.
Jeremy
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.