Thank you Jubble for the example, I used your code and I ended up with the following
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Timer1.Enabled = False
Dim l_oCurrentTime As Date = Now
Dim l_oTimeDifference As TimeSpan = m_oTimeEnd.Subtract(l_oCurrentTime)
Me.lblCt.Text = l_oTimeDifference.ToString
Debug.Write(l_oTimeDifference)
If l_oTimeDifference.TotalSeconds < 0 Then
lblCt.Text = "Checking Status..."
Debug.Write("Checking Status...")
Application.DoEvents()
mainFunct()
End If
Application.DoEvents()
End Sub
When I load the Form a funct is called that checks the status of a database. Once this is returned, if the database is not updated, a timer is set to true and the above code is ran on tick, once the timer is out, the app checks the DB again, etc.
Thanks again for your help.