i am developing a app in this there is a task performing according date match then timer must stopped but if date change of window system then timer must start again and check date if date back then nothing if date next then timer say task run
What I have tried:
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
f a = 0 Then
If Today.Day = 19 Then
a = 1
System.Diagnostics.Process.Start(TextBox1.Text)
Else
Timer1.Enabled = False
End If
End If end sub