Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > pause in microsecund

Reply
Thread Tools

pause in microsecund

 
 
alfa
Guest
Posts: n/a
 
      01-26-2010
I have set pause to microsecund. I have Microsoft Development Environment
2002 (ver.7.0.9466) and .NET Framework 1.0 (ver 1.0.3705) and
Stopwatch stopWatch = new Stopwatch(); don't work

How can I do it.


 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      01-31-2010
On Jan 26, 10:56*pm, "alfa" <(E-Mail Removed)> wrote:
> I have set pause to microsecund. I have Microsoft Development Environment
> 2002 (ver.7.0.9466) and .NET Framework 1.0 (ver 1.0.3705) and
> Stopwatch stopWatch = new Stopwatch(); don't work
>
> How can I do it.


Use Threading.Thread.Sleep

Imports System.Threading

Class Example

Shared Sub Main()

For i As Integer = 0 To 4
Console.WriteLine("Sleep for 2 seconds.")
Thread.Sleep(2000)
Next

Console.WriteLine("Main thread exits.")
End Sub
End Class

http://msdn.microsoft.com/en-us/library/d00bd51t.aspx

Hope this helps
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dramatic pause in PIX 7.0(2) after 'q' on page break in sh conf Michael T. Anderson Cisco 3 09-29-2005 06:26 PM
Suppress more/pause during running config Marv Cisco 3 06-20-2005 05:33 PM
Pause Frames on Catalyst switches? Cisco Fan Cisco 6 12-09-2004 05:51 AM
pause a loop GrantMagic ASP .Net 1 07-28-2004 10:08 AM
how to do a PAUSE in an codebehind function? Jason Shohet ASP .Net 10 06-18-2004 06:42 PM



Advertisments