SEOClerks

Check website Online/ Down coded in Visual Studio (vb.net)



Write the reason you're deleting this FAQ

Check website Online/ Down coded in Visual Studio (vb.net)

This software will check if website is Online or Down. Set url to text box and click check website.

First we need to add the following components from the toolbox to the form:

  • 1 Label
  • 1 Textbox
  • 1 Button

Change Label1 text to “URL
Change Button1 text to “Check Website

And it should look like this

Check website Online/ Down coded in Visual Studio (vb.net)


After adding all components to the form, double click to button1(Check Website) and add the following code :


Try
If My.Computer.Network.Ping(TextBox1.Text) Then
MsgBox(TextBox1.Text & " is Online ", MsgBoxStyle.Information, "Info")
Else
MsgBox(TextBox1.Text & " is Offline ", MsgBoxStyle.Information, "Info")
End If
Catch ex As Exception
MsgBox(TextBox1.Text & " is Offline ", MsgBoxStyle.Information, "Info")
End Try



Then click "Start" to run the software

Check website Online/ Down coded in Visual Studio (vb.net)





Software In Action....


Check website Online/ Down coded in Visual Studio (vb.net)




Happy Coding Check website Online/ Down coded in Visual Studio (vb.net)

Comments

Please login or sign up to leave a comment

Join