Results 1 to 4 of 4

Thread: PING Function

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2002
    Posts
    26

    PING Function

    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.

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    It's in C#, but here is one that should work for you:
    http://www.c-sharpcorner.com/network/ping.asp

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Sep 2002
    Posts
    26

    Doesnt work

    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

  4. #4
    Addicted Member
    Join Date
    Jul 1999
    Posts
    207
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width