Hello everyone
Anybody to help me with this please
How can make an app that will check the server/URL if it's Online/offline using visual basic 2010
I know that i can just ping it using the CMD but i want something that will be in the app i'm aiming to create
I'm happy with the basic codes, But i will be pleased if you could give me something that it works very well
Thank you so much for your helps as always i get them from this site
Thanks again
Matigo
0
Light Poster
Recommended Answers
Jump to PostIm not too sure if this is what your looking for, but give it a go!
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=3194&lngWId=10
Jump to PostThat will tell you whether the machine is on the network but does not tell you if the server is up. Of course, "up" is open to interpretation. If you are running multiple services (FTP, WEB, etc) what can be non-responsive before it is considered not to be up?
Jump to PostCreate a Button, Change (Name) property to Ping, and a TextBox, Change (Name) property to AddressText, only 1 form is needed.
Paste this code over top of ALL code.
Public Class Pinger Private Sub Ping_Click(sender As Object, e As EventArgs) Handles Ping.Click Call PingNow() End Sub Sub …
All 12 Replies
Doogledude123
45
Posting Whiz
Matigo
0
Light Poster
Doogledude123
45
Posting Whiz
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
Matigo
0
Light Poster
Doogledude123
45
Posting Whiz
Matigo
0
Light Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
Doogledude123
45
Posting Whiz
Matigo
0
Light Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
Matigo
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.