30-04-14, 03:09 PM
ضع على الفورم اداة timer ثم في حدث ال Tick للتايمر اكتب هذا الكود
كود :
If TimeString = "12:30" Then
MsgBox("do any thing")
ElseIf TimeString = "12:45" Then
System.Diagnostics.Process.Start("shutdown", "-s -t 00")
End If
