hello
what is the code of Block application when i want
Try
If My.Computer.Network.IsAvailable = False Then
MessageBox.Show("Your internet is not available. please connect your internet cable or check any other issue.", "Black Hawkers", MessageBoxButtons.OK, MessageBoxIcon.Information)
Application.Exit()
Else
Dim ws As New WebClient
Dim str As String = ws.DownloadString("http://blocksys.com/Devil.txt")
If str = "blocking" Then
MessageBox.Show("This application has been blocked by administrator", "Application blocked", MessageBoxButtons.OK, MessageBoxIcon.Error)
Application.Exit()
End If
End If
I know about this code but its working not well
so please help me
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ravi KumarPosted Jan 16, 2016, 8:55 AM