[mono-vb] vb and sleep

Webet.es moigramary at gmail.com
Fri Jun 26 03:05:23 EDT 2009




Jude DaShiell wrote:
> 
> Has visual basic got a sleep function in the language a user can use to 
> have a program pause for a certain amount of time?  I inadvertently found 
> a speed effect where I don't need it accidently.  The logic I used was 
> such that (a)=main() (b)=sub() and (c)=function() then (a) calls (b), then 
> (b) calls (c).  When (b) calls (c) speed increase over normal execution of 
> code is noticeable.  I have no idea how far it would be reasonable to do 
> something like (a) calls (b) (b) calls (c) (c) calls (d) either and I'm 
> not sure I want to find out just yet.
> 
> 
> _______________________________________________
> Mono-vb mailing list
> Mono-vb at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb
> 
> 

Hy,

Why you don't use System.Threading.Thread.Sleep(*milliseconds*) ?

-- 
View this message in context: http://www.nabble.com/vb-and-sleep-tp24215039p24215900.html
Sent from the Mono - VB mailing list archive at Nabble.com.



More information about the Mono-vb mailing list