Module Module1 Public Sub Main() Dim mainForm As New Form() mainForm.Show() Dim nextWork As Double = Environment.TickCount Dim wait As Double = 10 '0.01秒は10ミリ秒 Dim currentTime As Double While mainForm.Created currentTime = Environment.TickCount If currentTime >= nextWork Then 'ここで処理をする nextWork = nextWork + wait End If Application.DoEvents() End While End Sub End Module