T
Terry Olsen
I've used the following suggestion from one of the MVP's here:
'Add a reference to 'System.Windows.Forms.dll', import the
''System.Windows.Forms' namespace, and call 'Application.Run' at the end of
'your 'Sub Main'. Then you can call 'Application.ExitThread' to quit the
'application.
Is there a way I can prompt for confirmation before allowing the console app
to exit? And abort the termination if necessary?
'Add a reference to 'System.Windows.Forms.dll', import the
''System.Windows.Forms' namespace, and call 'Application.Run' at the end of
'your 'Sub Main'. Then you can call 'Application.ExitThread' to quit the
'application.
Is there a way I can prompt for confirmation before allowing the console app
to exit? And abort the termination if necessary?