Guest deBruineBeren Posted January 16, 2006 Report Posted January 16, 2006 Dear all, I want to pause my program for a few seconds, and then continue. I have found some pieces of code but somehow they do not seem to work. I get errors al over the place. Somehow one namespace imports seems to bite an other. I don’t know, I'm lost. :oops: I would like to place the code in a separate class so I can call it when I would like to pause the program. Does somebody have a simple piece of code that even I can use ? Thanks in advance. Alex.
Guest deBruineBeren Posted January 16, 2006 Report Posted January 16, 2006 It looks like I found the perfect one: Imports System.Threading And then use some where in the program System.Threading.Thread.Sleep(2000) This will pause the program for 2000 millisecond ;)
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now