VB.NET Freeze Windows Script 02-12-2018, 06:57 PM
#1
This simple script can freeze windows if the form is selected.
Code:
Public Class Form1
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Dim a As New Label
Do Until a.Text = "b"
Application.DoEvents()
Try
Do Until a.Text = "b"
Application.DoEvents()
Try
Catch exea As Exception
End Try
Loop
Catch ex As Exception
End Try
Loop
End Sub
End Class
(This post was last modified: 02-12-2018, 07:17 PM by kokiprik.)
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)













