M
Max
I have a small program which has a separate thread for the user
interface. Actually the interface is just used as an output for the
status of objects within the program. Anyway, this is basically the
whole new thread:
Private Sub Start()
ConsoleGUI.ShowDialog()
End Sub
When I call MyThread.Start() it runs that function and passes the
control over to the form. My problem is that once the form is closed the
thread obviously comes to an end and stops, but there may be times when
that form needs to be started back up again. When I run MyThread.Start()
again it gives me an error saying that the thread status is incorrect.
Any way I can start that thread up again?
interface. Actually the interface is just used as an output for the
status of objects within the program. Anyway, this is basically the
whole new thread:
Private Sub Start()
ConsoleGUI.ShowDialog()
End Sub
When I call MyThread.Start() it runs that function and passes the
control over to the form. My problem is that once the form is closed the
thread obviously comes to an end and stops, but there may be times when
that form needs to be started back up again. When I run MyThread.Start()
again it gives me an error saying that the thread status is incorrect.
Any way I can start that thread up again?