A1VBCode Forums

Quick Basic Sleep Statement Equivilent?


http://www.a1vbcode.com/vbforums/Topic21233.aspx

By CDRIVE - 2/4/2007

I've searched all the Visual Studio Key Words but can't find a simple equivilent to the Quick Basic "SLEEP" function. I've looked at Timer controls and the "Sec" functions hoping to use one of them to replace it? I thought I might be able to use one of them with the "Stop" function, but it appears that the Stop function is only used within the VB environment for debugging. I wouldn't know how to resume execution anyway.

Please disregard the above questions & statements. Every time I think I finally have a good grasp of VB's event driven programming structure I forget and revert back to a QB mind set. I realize now that I simply need to write my code within the Timer event.   

Thanks

CDRIVE

By CDRIVE - 2/13/2007

It really isn't important to me what you called it. It creates the delay I needed and that's  important to me. BTW, I never thought that your sub was an API.

Thanks,

Chris