Hello,
I have an issue exiting a vb.net app.
I have written a vb.net app that does the following from the startup routine.
- create a thread to get updates via tcp/ip from another server and update a global data structure.
- invoke a main display form to display the messages from the global data structure.
Once the main form is closed.. I pop up a message in the form_closing event to confirm the user wants to exit and then the code flows back to the startup routine exit sub line.
When I run this from Visual studio debugging mode, the program exits. When I create a setup file and run the program from the exe, upon exiting, the main display form disappears but the task manager still shows the application as running.
I thought that if the main thread (startup routine for the project) exits, the whole program along with all the other thread should exit as well..
Please help.
Thanks
Start Free Trial