|
-
Jun 24th, 2003, 03:44 PM
#1
Thread Starter
Member
Getting vb.net to wait a certain number of milliseconds
Is there any way to get vb.net to wait a certain amount of time before executing the next instruction?
-
Jun 24th, 2003, 03:50 PM
#2
Frenzied Member
Try the Sleep method of the Thread class.
VB Code:
System.Threading.Thread.Sleep ' time in milliseconds
'// eg: System.Threading.Thread.Sleep(10)
Being educated does not make you intelligent.
Need a weekend getaway??? Come Visit
-
Jun 24th, 2003, 03:50 PM
#3
Member
Add a timer control, then when it reaches the desired time, reference the next bit of code.
Is this what you're looking for?
-
Jun 24th, 2003, 03:57 PM
#4
Thread Starter
Member
What about the same thing in vb6?
EDIT: nevermind. found it
Last edited by brian728s; Jun 24th, 2003 at 04:31 PM.
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
|