T
Terry Olsen
Can console programs do events? Or are they strictly linear programs?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Okay...where can I find some example code?
I haven't tried anything yet,
but I want to spawn a couple of threads from Sub Main and let them generate
the events.
Do I need to keep Sub Main active (with a loop or something) to
keep the program from exiting?
Terry Olsen said:Okay...where can I find some example code? I haven't tried anything yet,
but I want to spawn a couple of threads from Sub Main and let them
generate the events. Do I need to keep Sub Main active (with a loop or
something) to keep the program from exiting?
Cor Ligthert said:Do While running
Console.Write("I am waiting" & vbCrLf)
Loop
Notice that this busy waiting loop will cause large CPU utilization :-(.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.