I used an API function written in C++ with a CallBack like timeSetEvent in this
Public Declare Function timeSetEvent Lib "winmm.dll" (ByVal uDelay As Long, ByVal uResolution As Long, ByVal lpFunction As Long, ByVal dwUser As Long, ByVal uFlags As Long) As Long
But in VB .Net, I do not know how...