Thread: Sleeping
View Single Post
Old May 19th, 2006, 1:34 AM   #1
Intimidat0r
Hobbyist Programmer
 
Intimidat0r's Avatar
 
Join Date: May 2005
Location: Don't know, but the padded walls are a nice touch.
Posts: 126
Rep Power: 0 Intimidat0r is an unknown quantity at this point
Send a message via ICQ to Intimidat0r Send a message via AIM to Intimidat0r Send a message via MSN to Intimidat0r Send a message via Yahoo to Intimidat0r
Sleeping

I want my program to stop execution and wait for one second before continuing. Typically in other languages this is accomplished with some variation of the 'sleep' function, like sleep(1000) or whatever.

Unfortunately I am unable to find such a function in VB6. Searching the forums yielded a result in which the topic starter was intructed to use the Sleep function, but this doesn't work for me (function does not exist, ...).

Any help? Thanks
__________________
Children in the dark cause accidents, and accidents in the dark cause children.

http://www.ronincoders.org
Intimidat0r is offline   Reply With Quote