I have an application with a menu system which creates a new thread when a
menu item is selected - some of these other threads may open a form for user
interaction.
Before the menu system is closed, I want to check that no other forms are
open - on any thread. Is there a way of checking for this easily? At
the moment, I'm not keeping track of new threads that I create ie I create
the new thread using code similar to as follows:
private sub RunMenu
dim obj as new myclass
dim t as new threading.thread(addressof obj.subroutinename)
t.start
end sub
How can I do this?
Thanks in advance
Simon