Cut here:
Imports System
Imports System.Timers
Imports System.Threading

Module Module1 Sub Main() Console.WriteLine("sleeping for five seconds:") 
System.Threading.Thread.CurrentThread./Sleep/(5000) 
Console.WriteLine("Awake again.") End Sub End Module Cut Here. The errors 
that come off of this using vbnc don't make any sense to me.  I don't know 
what was done wrong to create this error situation either and couldn't 
figure it out from the output.  When I used this code on vbc at work, I 
was told that no public object was available in the threading import and 
the Sleep line wouldn't work as a result of the earlier warning.

_______________________________________________
Mono-vb mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-vb

Reply via email to