|
-
Jan 4th, 2000, 03:53 AM
#1
Thread Starter
New Member
I do I implement eg. "wait for 1 second" then proceed through the code?
-
Jan 4th, 2000, 04:08 AM
#2
I'm not sure what's it's called but I think the Sleep Function would work. Same with a timer.
-
Jan 4th, 2000, 04:15 AM
#3
I think it's :
sleep(1000) ' 1000 = 1 second.
Knight
-
Jan 4th, 2000, 04:28 AM
#4
You can also put your program to "sleep" for any length of time using this API:
Public Declare Sub Sleep Lib "kernel32" Alias "Sleep" (ByVal dwMilliseconds As Long)
------------------
Marty
-
Jan 4th, 2000, 05:11 AM
#5
Lively Member
Hi Mudgen,
In order to use the Sleep Function, you have to use both Martin and Knight_Vision's code together:
Code:
Option Explicit
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Private Sub Form_Load()
Sleep (3000)
End Sub
All the best.
Chris
-
Jan 4th, 2000, 06:02 AM
#6
Thread Starter
New Member
Hello ChrisJackson
I am Writing for Windows NT.
Is your code OK for this?
-
Jan 4th, 2000, 09:30 AM
#7
I'll answer for him/her... Yes.
------------------
Marty
-
Jan 4th, 2000, 11:35 AM
#8
Lively Member
Thanks Martin. You're right about the Sleep Function working with Windows NT. By the way, it's him.
Chris
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
|