Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Imports System.Windows.Forms Public Class MouseMover Inherits System.Windows.Forms.Form <Runtime.InteropServices.DllImport("user32.dll", SetLastError:=True)> _ Private Shared Function SetCursorPos(ByVal X As Integer, ByVal Y As Integer) As Boolean End Function Private Sub MouseMover_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Timer1.Start() Timer1.Enabled = True Timer1.Interval = 30000 Me.Visible = False Me.ShowInTaskbar = False Me.NotifyIcon1.Icon = Me.Icon Me.NotifyIcon1.Visible = True End Sub Private Sub Timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Timer1.Tick Dim random As New Random Dim x As Integer = random.Next Dim y As Integer = random.Next SetCursorPos(x, y) End Sub Private Sub NotifyIcon1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles NotifyIcon1.DoubleClick NotifyIcon1.Dispose() Application.Exit() End Sub End Class
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.