Close all windows in a VB.Net program

  • Thread starter Thread starter UJ
  • Start date Start date
U

UJ

I've got a VB.Net program where under a condition I want to close all of my
windows (logging out the user due to inactivity). Is there a way to close
all of the currently open windows without going through each one to check if
it exists?

TIA - Jeff.
 
UJ said:
I've got a VB.Net program where under a condition I want to close all of
my windows (logging out the user due to inactivity). Is there a way to
close all of the currently open windows without going through each one to
check if it exists?

Did you already try to close the main window?
 
Back
Top