B_Dorsey
asked on
Sleep
I have an app that I am checking another file on a server, I am doing a ton of things in between, and on the server end, but my app doesnt take into effect the server ends processing time (can take upto 2-5 seconds) so I put a Sleep function in....
The progress bar works fine, but the text does not it just shows the last message only.
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Updater.currentmessage = "Establishing Connection"
ProgressBar.Value = 10
Sleep (2000)
Updater.currentmessage = "Connection Established"
ProgressBar.Value = 20
Sleep (2000)
Updater.currentmessage = "Checking Versions"
ProgressBar.Value = 30
The progress bar works fine, but the text does not it just shows the last message only.
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Updater.currentmessage = "Establishing Connection"
ProgressBar.Value = 10
Sleep (2000)
Updater.currentmessage = "Connection Established"
ProgressBar.Value = 20
Sleep (2000)
Updater.currentmessage = "Checking Versions"
ProgressBar.Value = 30
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Don't knock yourself - usually a second pair of eyes makes a world of difference.
I wasted 3 hours the other day debugging and getting frustrated, only to finally figure out I was connected to the wrong database;)
I wasted 3 hours the other day debugging and getting frustrated, only to finally figure out I was connected to the wrong database;)
ASKER
To think I stayed up all night for that...... Im a LOSER! ...lol
VERY BIG THANKS
b