|
-
Feb 12th, 2008, 02:43 PM
#1
Thread Starter
Lively Member
[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
Last edited by syrillia; Feb 12th, 2008 at 02:54 PM.
-
Feb 12th, 2008, 02:45 PM
#2
Re: Simple Wait
You would use the Sleep API for that.
-
Feb 12th, 2008, 02:48 PM
#3
Thread Starter
Lively Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|