How to refresh a page within a 5seconds using vb.net
how to refresh a page within a 5seconds using vb.net(windows application)
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Apr 3, 2014, 2:13 AM EDT
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()