Results 1 to 3 of 3

Thread: [RESOLVED]Simple Wait

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2007
    Posts
    85

    Resolved [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.

  2. #2
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: Simple Wait

    You would use the Sleep API for that.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Dec 2007
    Posts
    85

    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
  •  



Click Here to Expand Forum to Full Width