how to refresh a page within a 5seconds using vb.net
how to refresh a page within a 5seconds using vb.net(windows application)
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Apr 3, 2014, 6:13 AM
If so and you don't want to allow any user interaction in the meantime, then you can use:
System.Threading.Thread.Sleep(5000)
Me.Refresh()
If you do want to allow user interaction, then add a Timer, set its Interval property to 5000, its Enabled property to True and place this code in its Tick event handler:
Timer1.Enabled = False
Me.Refresh()