Simply put.. I am trying to add a Auto Refresh(every 5 seconds) feature to my VB.Net 2005 Project..
This is what I currently have.. I have been playing about with this code for the better part of 8 hours.
Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
Do Until CheckBox1.Checked = False
RefreshEvery5()
MessageBox.Show("No no no...")
Threading.Thread.Sleep(5000)
CheckBox1.Checked = False
Loop
End Sub
There has to be a way.. This just locks the program. :/ If this method.. Just is not possible. I would settle for the use of 2 radio buttons: On, Off.
Thank you greatly for any and all help.
TehCheeze.
This is what I currently have.. I have been playing about with this code for the better part of 8 hours.
Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
Do Until CheckBox1.Checked = False
RefreshEvery5()
MessageBox.Show("No no no...")
Threading.Thread.Sleep(5000)
CheckBox1.Checked = False
Loop
End Sub
There has to be a way.. This just locks the program. :/ If this method.. Just is not possible. I would settle for the use of 2 radio buttons: On, Off.
Thank you greatly for any and all help.
TehCheeze.