-
[RESOLVED]Simple Wait
Hi, I'm looking for simple 'wait' command, that will wait for a certain number of seconds before executing the next line. I've googled it but all I find is really complicated methods. I would normally use a timer, but in this sense it's not practical, as I'm using like 20 waits. Is there such thing as a simple wait in VB6?
Syrillia
-
Re: Simple Wait
You would use the Sleep API for that.
-
Re: Simple Wait
Thanks, I think I came across it very early in my VB learning but wasn't sure where to add it the declaration (it was that early) and then never used it again. I was enabling and disabling timers. Had 10. Cut my code in half.