Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42334

VS 2010 Adding wait times;Delays pauses ect.

$
0
0
How do you add Delays, Pauses

I am asking is there a way to say this

If Textbox1.Text = "hi" Then
[Adding delay here]
Msgbox("Displaying here")

Additional information.. Is there a way for me too add a delay with a If statement as shown above. Like making it count to 5 seconds or ect. before running the next line of code. I would really appreciate anything other then Timer's because those are very finicky and don't apply updates. I would prefer anything other then a ordinary timer. Thanks for all your support and feedback, It's invaluable.

Viewing all articles
Browse latest Browse all 42334


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>