[mono-vb] vb and sleep

Rolf Bjarne Kvinge rolflists at ya.com
Fri Jun 26 05:04:15 EDT 2009


Hi,

Try System.Threading.Thread.Sleep (milliseconds)

Rolf

> -----Original Message-----
> From: mono-vb-bounces at lists.ximian.com [mailto:mono-vb-
> bounces at lists.ximian.com] On Behalf Of Jude DaShiell
> Sent: viernes, 26 de junio de 2009 7:08
> To: mono-vb at lists.ximian.com
> Subject: [mono-vb] vb and sleep
> 
> 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



More information about the Mono-vb mailing list