Results 1 to 12 of 12

Thread: How do you ping a website or a server

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    879
    I need to ping a website or a server from within VB. I dont want it to run MSDos/Ping.exe!
    Visual Basic 6.0
    Visual C++ 5
    Delphi 5


  2. #2
    Guest
    Hehe, I know you've seen me post this many times before.

    Aren't you just lost without the search?

    Attached is the code to ping.
    Attached Files Attached Files

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    879
    is there an easier way of pinging a server?? Because that code is like 4 pages long when its not even going to be 1% of the program i'm making!
    Visual Basic 6.0
    Visual C++ 5
    Delphi 5


  4. #4
    Guest
    May be long, but it's worth it.

    Other than that, try searching http://www.planet-source-code.com for pinging.

  5. #5
    Member T-Bone's Avatar
    Join Date
    Feb 2001
    Location
    LaNdOfNoD
    Posts
    50

    Exclamation Pinging a Web Domain Name

    Matthew,

    Is it possible to make your ping work with Letters as well? For instance "www.microsoft.com.au" because currently it falls over as soon as it tries to incorporate something like "www" into a Hexadecimal String which needless to say causes an error.


    Any help on this matter would be great!
    Diplomacy is being able to tell someone to go to hell in such a way, that they actually look forward to the trip.

  6. #6
    Guest
    You askin' how to ping a web site?
    Take a look at this link.
    http://www.freevbcode.com/ShowCode.Asp?ID=632

  7. #7
    Frenzied Member jjortiz's Avatar
    Join Date
    Mar 2001
    Location
    NYC
    Posts
    1,768

    I LIKE

    Matthew < I spelled it right.
    That is some pretty cool code. It's one of those little knick knacks in life that you have in the back of your mind and you never get around to it.
    I am going to use it for this little app that i have that checks to see if all of our sites are up and modify it to see what the bandwidth is like. Thanks

  8. #8
    Member T-Bone's Avatar
    Join Date
    Feb 2001
    Location
    LaNdOfNoD
    Posts
    50

    Smile Wonderful

    Matthew,

    Short and to the point, yet Diverse and Multi-purpose.

    I Love it.
    Diplomacy is being able to tell someone to go to hell in such a way, that they actually look forward to the trip.

  9. #9
    Frenzied Member jjortiz's Avatar
    Join Date
    Mar 2001
    Location
    NYC
    Posts
    1,768

    Cool Re: Wonderful

    T-Bone I like the Quote. Very Cool.

  10. #10
    Member T-Bone's Avatar
    Join Date
    Feb 2001
    Location
    LaNdOfNoD
    Posts
    50

    Exclamation Quotes...

    yes, jjortiz its the sort of Quote that Karl Moore would enjoy!
    Diplomacy is being able to tell someone to go to hell in such a way, that they actually look forward to the trip.

  11. #11
    Frenzied Member JungleMan's Avatar
    Join Date
    Feb 2001
    Posts
    2,033
    Originally posted by Matthew Gates
    Hehe, I know you've seen me post this many times before.

    Aren't you just lost without the search?

    Attached is the code to ping.
    What is the usage? Like, if someone clicks a button, How do I make it ping 1.2.3.4 with that code?
    I'm bringing geeky back...

  12. #12
    billfaceuk
    Guest
    karl moore, that funny little man who starngely resembles wayne hemingway. ho ho how i laughed

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