The wait function in VB6

mike55

Contributor
Joined
Mar 26, 2004
Messages
727
Location
Ireland
In VB6, it was possible to tell a program to wait for a specific time period, I am attempting to do the same again in asp.net/vb.net, but with no success. Anyone got any suggestions on how to overcome??

Mike55
 
System.Threading.Thread.CurrentThread.Sleep should allow an application to pause.
However if you are doing this from server side ASP.Net then you may not get the expected results - it may be better if you tell us what you are trying to achieve and see if anyone knows a better way.
 
Last edited:
Back
Top