I have a windows application that when I close it still runs on the background process of task manager. I tried going through Application/Shutdown Mode/When start up form closes, but my startup form is a login form which then takes me to my main application which has a close button. I also tried the option When last form closes, no effect.
On this close button I have tried Me.Close(). and also I have tried Application.Quit() my both still not closing my application completely.
How can I terminate the application completely and clear it from the background services?